public function all()
    {
        foreach ($this->dependency as $keyOrItem) {
            $this->get($keyOrItem);
        }

        return $this->resolved->immutable();
    }
public function all()
    {
        foreach ($this->dependency as $keyOrItem) {
            $this->get($keyOrItem);
        }

        return $this->resolved->immutable();
    }
public function all ( ) { foreach ( $ this -> dependency as $ keyOrItem ) { $ this -> get ( $ keyOrItem ) ; } return $ this -> resolved -> immutable ( ) ; }
Returns all of the dependencies for the data set as a map.

@return Bag|Bag[] [ ID => ID[] ]
Returns all of the dependencies for the data set as a map .