public function addDependencies($name, $entities = null, array $options = null)
    {
        return $this->dependencyResultCollection->add($name, $entities, $options);
    }
public function addDependencies($name, $entities = null, array $options = null)
    {
        return $this->dependencyResultCollection->add($name, $entities, $options);
    }
public function addDependencies ( $ name , $ entities = null , array $ options = null ) { return $ this -> dependencyResultCollection -> add ( $ name , $ entities , $ options ) ; }
Shortcut to add dependencies to the collection.

@param string|\Traversable|array $name
@param null|array|\Traversable       $entities
@param array|null $options

@return DependencyResultCollection
Shortcut to add dependencies to the collection .