protected function addProxy($proxy, $id, $target)
    {
        $callee = $target instanceof \Closure ? null : $target;
        $closure = $callee ? null : $target;

        $this->registry[$proxy] = array(
            'id' => $id,
            'target' => $callee,
            'closure' => $closure
        );
    }
protected function addProxy($proxy, $id, $target)
    {
        $callee = $target instanceof \Closure ? null : $target;
        $closure = $callee ? null : $target;

        $this->registry[$proxy] = array(
            'id' => $id,
            'target' => $callee,
            'closure' => $closure
        );
    }
protected function addProxy ( $ proxy , $ id , $ target ) { $ callee = $ target instanceof \ Closure ? null : $ target ; $ closure = $ callee ? null : $ target ; $ this -> registry [ $ proxy ] = array ( 'id' => $ id , 'target' => $ callee , 'closure' => $ closure ) ; }
Adds a proxy to the registry array

Since this is called internally it assumes that the inputs are correct.

@param string $proxy
@param string $id
@param mixed $target
@return void
Adds a proxy to the registry array