Blast\Orm\Entity\Definition::getEntityCollection PHP 메소드

getEntityCollection() 공개 메소드

Get the custom entity collection
public getEntityCollection ( ) : SplStack | object
리턴 SplStack | object
    public function getEntityCollection()
    {
        if (!is_object($this->configuration['entityCollection'])) {
            $entity = $this->configuration['entityCollection'];
            $this->configuration['entityCollection'] = new $entity();
        }
        return $this->configuration['entityCollection'];
    }