Manager/AbstractManager.php
protected function entityImplements(string $interfaceName): bool
    {
        $reflectionClass = new \ReflectionClass($this->getEntityClassName());

        return $reflectionClass->implementsInterface($interfaceName);
    }
protected function entityImplements(string $interfaceName): bool
    {
        $reflectionClass = new \ReflectionClass($this->getEntityClassName());

        return $reflectionClass->implementsInterface($interfaceName);
    }
protected function entityImplements ( string $ interfaceName ) : bool { $ reflectionClass = new \ ReflectionClass ( $ this -> getEntityClassName ( ) ) ; return $ reflectionClass -> implementsInterface ( $ interfaceName ) ; }
Checks if entity class name implements interface

@param string $interfaceName

@return bool
Checks if entity class name implements interface