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'];
    }