Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function get(Definition $definition, Container $container)
 {
     if (!$this->resolved) {
         $this->result = $definition->resolve($container);
         $this->resolved = true;
     }
     return $this->result;
 }
Ejemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function get(Definition $definition, Container $container)
 {
     return $definition->resolve($container);
 }