protected function convertExtraKey(array $asset, $assetKey, array &$composer, $composerKey, $extraKey = 'extra')
    {
        $extra = isset($composer[$extraKey]) ? $composer[$extraKey] : array();

        $this->convertKey($asset, $assetKey, $extra, $composerKey);

        if (\count($extra) > 0) {
            $composer[$extraKey] = $extra;
        }
    }
protected function convertExtraKey(array $asset, $assetKey, array &$composer, $composerKey, $extraKey = 'extra')
    {
        $extra = isset($composer[$extraKey]) ? $composer[$extraKey] : array();

        $this->convertKey($asset, $assetKey, $extra, $composerKey);

        if (\count($extra) > 0) {
            $composer[$extraKey] = $extra;
        }
    }
protected function convertExtraKey ( array $ asset , $ assetKey , array & $ composer , $ composerKey , $ extraKey = 'extra' ) { $ extra = isset ( $ composer [ $ extraKey ] ) ? $ composer [ $ extraKey ] : array ( ) ; $ this -> convertKey ( $ asset , $ assetKey , $ extra , $ composerKey ) ; if ( \ count ( $ extra ) > 0 ) { $ composer [ $ extraKey ] = $ extra ; } }
Converts the extra key of package.

@param array        $asset       The asset data
@param string       $assetKey    The asset extra key
@param array        $composer    The composer data
@param array|string $composerKey The composer extra key or array with composer extra key name and closure
@param string       $extraKey    The extra key name
Converts the extra key of package .