public function setEntityClass($className)
    {
        if (
            !class_exists($className) ||
            !is_subclass_of($className, EntityInterface::class)
        ) {
            throw new InvalidEntityClassException(
                "Class '{$className}' does not implements the " .
                "Slick\Orm\EntityInterface interface."
            );
        }
        
        $this->entityClass = $className;
        return $this;
    }
public function setEntityClass($className)
    {
        if (
            !class_exists($className) ||
            !is_subclass_of($className, EntityInterface::class)
        ) {
            throw new InvalidEntityClassException(
                "Class '{$className}' does not implements the " .
                "Slick\Orm\EntityInterface interface."
            );
        }
        
        $this->entityClass = $className;
        return $this;
    }
public function setEntityClass ( $ className ) { if ( ! class_exists ( $ className ) || ! is_subclass_of ( $ className , EntityInterface :: class ) ) { throw new InvalidEntityClassException ( "Class '{$className}' does not implements the " . "Slick\Orm\EntityInterface interface." ) ; } $ this -> entityClass = $ className ; return $ this ; }
Set FQ entity class name

@param string $className

@throws InvalidEntityClassException If the provided class name does
not implements the Slick\Orm\EntityInterface interface.

@return $this|self|AbstractEntityService
Set FQ entity class name