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