Is there an easy way to set the option key (set by default to _footprint)?
By easy I mean without the need to rewrite a method (which is what I'm currently doing):
<?php
use FootprintAwareTrait {
footprint as realFootprint;
}
public function footprint(Event $event)
{
self::realFootprint($event);
$this->_listener->setConfig('optionKey', '_customFootprintKey');
}
Is there an easy way to set the option key (set by default to
_footprint
)?By easy I mean without the need to rewrite a method (which is what I'm currently doing):