/** * Gets all service ids. * * @return array An array of all defined service ids */ public function getServiceIds() { return array_unique(array_merge(array_keys($this->getServiceDefinitions()), array_keys($this->aliases), parent::getServiceIds())); }
protected function addServiceAlias($alias, $id) { $name = RokCommon_Service_ContainerImpl::camelize($alias); return <<<EOF protected function get{$name}Service() { return {$this->getServiceCall($id)}; } EOF; }