/** * {@inheritdoc} */ public function process(ICommand $command) { $command->prefixKeys($this->_prefix); }
/** * {@inheritdoc} */ public function process(ICommand $command) { if ($command instanceof IPrefixable) { $command->prefixKeys($this->prefix); } }