/**
  * After load
  *
  * @param LifecycleEventArgs $args
  */
 public function postLoad(LifecycleEventArgs $args)
 {
     $object = $args->getObject();
     if (!$object instanceof ProductInterface && !$object instanceof AttributeOptionInterface) {
         return;
     }
     if ($this->context->hasLocaleCode()) {
         $object->setLocale($this->context->getLocaleCode());
     }
 }