'v6.6.0.0',
Feature::
deprecatedMethodMessage(self::
class, __METHOD__, 'v6.6.0.0', '\Shopware\Core\Framework\App\Flow\Action\Xml\Action'
) );
$data = parent::
toArray($defaultLocale);
return array_merge($data,
[ 'name' =>
$this->meta->
getName(),
'swIcon' =>
$this->meta->
getSwIcon(),
'url' =>
$this->meta->
getUrl(),
'delayable' =>
$this->meta->
getDelayable(),
'parameters' =>
$this->
normalizeParameters(),
'config' =>
array_map(fn ($config) =>
$config->
jsonSerialize(),
$this->config->
getConfig()),
'headers' =>
array_map(fn ($header) =>
$header->
jsonSerialize(),
$this->headers->
getParameters()),
'requirements' =>
$this->meta->
getRequirements(),
'label' =>
$this->meta->
getLabel(),
'description' =>
$this->meta->
getDescription(),
'headline' =>
$this->meta->
getHeadline(),
]);
} public static function fromXml(\DOMElement
$element): self
{