original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: 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
docstring_tokens: Set FQ entity class name