public function asArray()
    {
        return [
            'id'        => $this->getId(),
            'className' => $this->getClassName(),
            'instance'  => $this->getInstance(),
            'arguments' => $this->getArguments(),
            'type'      => $this->getType(),
            'target'    => $this->getTarget(),
            'position'  => $this->getPosition(),
        ];
    }
public function asArray()
    {
        return [
            'id'        => $this->getId(),
            'className' => $this->getClassName(),
            'instance'  => $this->getInstance(),
            'arguments' => $this->getArguments(),
            'type'      => $this->getType(),
            'target'    => $this->getTarget(),
            'position'  => $this->getPosition(),
        ];
    }
public function asArray ( ) { return [ 'id' => $ this -> getId ( ) , 'className' => $ this -> getClassName ( ) , 'instance' => $ this -> getInstance ( ) , 'arguments' => $ this -> getArguments ( ) , 'type' => $ this -> getType ( ) , 'target' => $ this -> getTarget ( ) , 'position' => $ this -> getPosition ( ) , ] ; }
Returns the current dependency as array.

@author Benjamin Carl <opensource@clickalicious.de>

@return array The dependency recipe
Returns the current dependency as array .