Utils/Manager/ASFManager.php
public function createInstance()
    {
        if (is_null($this->entityName)) {
            $class = new \ReflectionClass($this->originalEntityName);
        } else {
            $class = new \ReflectionClass($this->entityName);
        }

        return $class->newInstanceArgs();
    }
public function createInstance()
    {
        if (is_null($this->entityName)) {
            $class = new \ReflectionClass($this->originalEntityName);
        } else {
            $class = new \ReflectionClass($this->entityName);
        }

        return $class->newInstanceArgs();
    }
public function createInstance ( ) { if ( is_null ( $ this -> entityName ) ) { $ class = new \ ReflectionClass ( $ this -> originalEntityName ) ; } else { $ class = new \ ReflectionClass ( $ this -> entityName ) ; } return $ class -> newInstanceArgs ( ) ; }
Create new instance of the entity.

@return object
Create new instance of the entity .