示例#1
0
 /**
  * Get the raw object prior to resolution.
  *
  * @param string $binding The $binding key to get the raw value from.
  *
  * @return Definition|\Closure Value of the $binding.
  */
 public function getRaw($binding)
 {
     if (isset($this->bindings[$binding])) {
         return $this->bindings[$binding];
     } elseif (isset($this->parent)) {
         return $this->parent->getRaw($binding);
     }
     return null;
 }