Пример #1
0
 /**
  * @param string $key
  *
  * @throws Container\Exception
  */
 public function getTaggedServices($key)
 {
     $services = array();
     if ($this->tags->exists($key)) {
         foreach ($this->tags->get($key) as $serviceKey) {
             $services[] = $this->get($serviceKey);
         }
     }
 }