Manager/AbstractManager.php
protected function prepareEntityForGet(AbstractEntity $entity): bool
    {
        if ($entity instanceof AbstractDocument) {
            $this->prepareDocumentForGet($entity);
        }
        return true;
    }
protected function prepareEntityForGet(AbstractEntity $entity): bool
    {
        if ($entity instanceof AbstractDocument) {
            $this->prepareDocumentForGet($entity);
        }
        return true;
    }
protected function prepareEntityForGet ( AbstractEntity $ entity ) : bool { if ( $ entity instanceof AbstractDocument ) { $ this -> prepareDocumentForGet ( $ entity ) ; } return true ; }
Prepares an entity when retrieved from database

@param AbstractEntity $entity

@return boolean
Prepares an entity when retrieved from database