Manager/AbstractManager.php
public function getNew(): AbstractEntity
    {
        $newEntity = $this->getRepository()->getNew();

        $this->prepareEntityForNew($newEntity);

        return $newEntity;
    }
public function getNew(): AbstractEntity
    {
        $newEntity = $this->getRepository()->getNew();

        $this->prepareEntityForNew($newEntity);

        return $newEntity;
    }
public function getNew ( ) : AbstractEntity { $ newEntity = $ this -> getRepository ( ) -> getNew ( ) ; $ this -> prepareEntityForNew ( $ newEntity ) ; return $ newEntity ; }
Gets a new intance of an entity

@return AbstractEntity
Gets a new intance of an entity