public static function roleName()

in src/Utils/Filter.php [92:105]


    public static function roleName($roleName)
    {
        if ($roleName === null) {
            return;
        }

        if (!is_string($roleName)) {
            throw new InvalidArgumentException('roleName must be a string');
        }

        if ($roleName === '') {
            throw new InvalidArgumentException('roleName cannot be empty');
        }
    }