protected function getPackageInformation($id)
    {
        $package = $this->getContainer()->get('package.repository')->find($id);
        if (!$package instanceof PackageInterface) {
            throw new \InvalidArgumentException(sprintf('Package "%s" not found', $id));
        }

        return $package->getFullName();
    }
protected function getPackageInformation($id)
    {
        $package = $this->getContainer()->get('package.repository')->find($id);
        if (!$package instanceof PackageInterface) {
            throw new \InvalidArgumentException(sprintf('Package "%s" not found', $id));
        }

        return $package->getFullName();
    }
protected function getPackageInformation ( $ id ) { $ package = $ this -> getContainer ( ) -> get ( 'package.repository' ) -> find ( $ id ) ; if ( ! $ package instanceof PackageInterface ) { throw new \ InvalidArgumentException ( sprintf ( 'Package "%s" not found' , $ id ) ) ; } return $ package -> getFullName ( ) ; }
Returns package information by identifier

@param int $id Package identifier

@return string
Returns package information by identifier