public function __construct(Connection $connection, IStructure $structure, IConventions $conventions = NULL, Nette\Caching\IStorage $cacheStorage = NULL) { $this->connection = $connection; $this->structure = $structure; $this->conventions = $conventions ?: new StaticConventions(); $this->cacheStorage = $cacheStorage; }