JonathanTorres\Construct\Helpers\Str::isValid PHP Method

isValid() public method

Check if the entered project name is valid.
public isValid ( string $name ) : boolean
$name string
return boolean
    public function isValid($name)
    {
        if (preg_match($this->regEx, $name) === 0) {
            return false;
        }
        return true;
    }