/**
  * @return array
  */
 public function getManagerNames()
 {
     $this->loadManagers();
     if ($this->originalManagers instanceof Container) {
         return $this->originalManagers->keys();
     } else {
         return array_keys($this->originalManagers);
     }
 }
Esempio n. 2
0
 /**
  * @return array
  */
 public function getManagerNames()
 {
     $this->loadManagers();
     if ($this->managers instanceof \Pimple) {
         return $this->managers->keys();
     } else {
         return array_keys($this->managers);
     }
 }