public function getConfig(StorageEngineType $type, $link) { if (!isset($this->configs[$type->getId()][$link])) { return array(); } return $this->configs[$type->getId()][$link]; }
/** @return static **/ public function setEngineType(StorageEngineType $engineType) { $this->parseEngineId($engineType->getId()); $this->engineType = $engineType; $this->engineTypeId = $engineType->getId(); return $this; }