src/Encase/ContainerItem.php
function instance($origin = null) {
    if (!$this->reified()) {
      $this->reify();
    }

    $object = $this->fetch();
    $this->inject($object, $origin);

    if ($this->hasInitializer()) {
      $this->initialize($object, $origin);
    }

    return $object;
  }
function instance($origin = null) {
    if (!$this->reified()) {
      $this->reify();
    }

    $object = $this->fetch();
    $this->inject($object, $origin);

    if ($this->hasInitializer()) {
      $this->initialize($object, $origin);
    }

    return $object;
  }
function instance ( $ origin = null ) { if ( ! $ this -> reified ( ) ) { $ this -> reify ( ) ; } $ object = $ this -> fetch ( ) ; $ this -> inject ( $ object , $ origin ) ; if ( $ this -> hasInitializer ( ) ) { $ this -> initialize ( $ object , $ origin ) ; } return $ object ; }
/* Public API
/ * Public API