protected function isCorrectItem(\ReflectionClass $reflector): bool
    {
        if ($reflector->isInstance($this))
            return false;

        if (!$reflector->isSubclassOf(RouterAbstract::class))
            return false;

        return true;
    }
protected function isCorrectItem(\ReflectionClass $reflector): bool
    {
        if ($reflector->isInstance($this))
            return false;

        if (!$reflector->isSubclassOf(RouterAbstract::class))
            return false;

        return true;
    }
protected function isCorrectItem ( \ ReflectionClass $ reflector ) : bool { if ( $ reflector -> isInstance ( $ this ) ) return false ; if ( ! $ reflector -> isSubclassOf ( RouterAbstract :: class ) ) return false ; return true ; }
Is correct item

@param \ReflectionClass $reflector

@return bool
Is correct item