private function injectExtraConfig(PackageInterface $package, array $extra)
    {
        $ref = new \ReflectionClass($package);
        $met = $ref->getProperty('extra');
        $met->setAccessible(true);
        $met->setValue($package, $extra);
    }
private function injectExtraConfig(PackageInterface $package, array $extra)
    {
        $ref = new \ReflectionClass($package);
        $met = $ref->getProperty('extra');
        $met->setAccessible(true);
        $met->setValue($package, $extra);
    }
private function injectExtraConfig ( PackageInterface $ package , array $ extra ) { $ ref = new \ ReflectionClass ( $ package ) ; $ met = $ ref -> getProperty ( 'extra' ) ; $ met -> setAccessible ( true ) ; $ met -> setValue ( $ package , $ extra ) ; }
Inject the overriding extra config in the current package.

@param PackageInterface $package The package
@param array            $extra   The new extra config
Inject the overriding extra config in the current package .