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