Nextras\Orm\Model\SimpleModelFactory::__construct PHP Method

__construct() public method

public __construct ( Cache $cache, array $repositories, Nextras\Orm\Entity\Reflection\IMetadataParserFactory $metadataParserFactory = null )
$cache Nette\Caching\Cache
$repositories array
$metadataParserFactory Nextras\Orm\Entity\Reflection\IMetadataParserFactory
    public function __construct(Cache $cache, array $repositories, IMetadataParserFactory $metadataParserFactory = null)
    {
        $this->cache = $cache;
        $this->repositories = $repositories;
        $this->metadataParserFactory = $metadataParserFactory;
    }
SimpleModelFactory