/**
  * {@inheritDoc}
  */
 public function setApi(\Oro\Bundle\UserBundle\Entity\UserApi $api)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'setApi', array($api));
     return parent::setApi($api);
 }