public function package($name)
	{
		if( ! isset($this->packages[ $name ]))
		{
			throw new PackageNotDefinedException("$name is not defined");
		}
		return $this->packages[ $name ];
	}
public function package($name)
	{
		if( ! isset($this->packages[ $name ]))
		{
			throw new PackageNotDefinedException("$name is not defined");
		}
		return $this->packages[ $name ];
	}
public function package ( $ name ) { if ( ! isset ( $ this -> packages [ $ name ] ) ) { throw new PackageNotDefinedException ( "$name is not defined" ) ; } return $ this -> packages [ $ name ] ; }
Return a given package instance

@param $name
@return Package
@throws PackageNotDefinedException
Return a given package instance