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