public function get($name)
    {
        if (!isset($this->packages[$name])) {
            return null;
        }

        return $this->packages[$name];
    }
public function get($name)
    {
        if (!isset($this->packages[$name])) {
            return null;
        }

        return $this->packages[$name];
    }
public function get ( $ name ) { if ( ! isset ( $ this -> packages [ $ name ] ) ) { return null ; } return $ this -> packages [ $ name ] ; }
Get a package from the collection.

@param string $name

@return Package|null
Get a package from the collection .