public function getPackage($package_name)
    {
        if (!isset($this->packages_instances[$package_name])) {
            try {
                $this->packages_instances[$package_name] = $this->_buildNewPackage($package_name);
            } catch (\Exception $e) {
                throw $e;
            }
        }
        return $this->packages_instances[$package_name];
    }
public function getPackage($package_name)
    {
        if (!isset($this->packages_instances[$package_name])) {
            try {
                $this->packages_instances[$package_name] = $this->_buildNewPackage($package_name);
            } catch (\Exception $e) {
                throw $e;
            }
        }
        return $this->packages_instances[$package_name];
    }
public function getPackage ( $ package_name ) { if ( ! isset ( $ this -> packages_instances [ $ package_name ] ) ) { try { $ this -> packages_instances [ $ package_name ] = $ this -> _buildNewPackage ( $ package_name ) ; } catch ( \ Exception $ e ) { throw $ e ; } } return $ this -> packages_instances [ $ package_name ] ; }
Get a package instance

@param   string $package_name
@return  \AssetsManager\Package\AssetsPackage
@throws  \Exception : any caught exception
@see     self::_buildNewPackage()
Get a package instance