Exemple #1
0
 /**
  * @param \Spryker\Shared\EventJournal\Model\EventInterface $event
  *
  * @return void
  */
 protected static function addDeploymentInformation(EventInterface $event)
 {
     $deploymentInformation = (new Version())->toArray();
     foreach ($deploymentInformation as $name => $data) {
         if (!empty($data)) {
             $event->setField('deployment_' . $name, $data);
         }
     }
 }