Fenos\Notifynder\Builder\BuilderRules::isString PHP Méthode

isString() protected méthode

Value has to be a string.
protected isString ( $value ) : boolean
$value
Résultat boolean
    protected function isString($value)
    {
        if (!is_string($value)) {
            throw new InvalidArgumentException('The value Passed is not a string');
        }
        return true;
    }