public function getDependencies($id)
    {
        return (isset($this->dependenciesById[$id])) ?
            $this->dependenciesById[$id] :
            null;
    }
public function getDependencies($id)
    {
        return (isset($this->dependenciesById[$id])) ?
            $this->dependenciesById[$id] :
            null;
    }
public function getDependencies ( $ id ) { return ( isset ( $ this -> dependenciesById [ $ id ] ) ) ? $ this -> dependenciesById [ $ id ] : null ; }
Returns dependencies for passed id.

@param string $id The id of the class to return dependencies for.

@author Benjamin Carl <opensource@clickalicious.de>

@return Doozr_Di_Dependency|null Dependency if set, otherwise NULL
Returns dependencies for passed id .