protected function getPackageExtra(PackageInterface $package, $key, $default = null)
    {
        $extra = $package->getExtra();

        return array_key_exists($key, $extra) ? $extra[ $key ] : $default;
    }
protected function getPackageExtra(PackageInterface $package, $key, $default = null)
    {
        $extra = $package->getExtra();

        return array_key_exists($key, $extra) ? $extra[ $key ] : $default;
    }
protected function getPackageExtra ( PackageInterface $ package , $ key , $ default = null ) { $ extra = $ package -> getExtra ( ) ; return array_key_exists ( $ key , $ extra ) ? $ extra [ $ key ] : $ default ; }
Get an item from the package extra array

@param PackageInterface $package
@param string $key
@param mixed $default
@return mixed
Get an item from the package extra array