/**
  * @param object $first
  * @param object $second
  */
 public function __construct($first, $second)
 {
     parent::__construct($first);
     $this->anotherEntity = $second;
 }
Exemplo n.º 2
0
 /**
  * @param object $entity
  * @param string|null $first
  * @param string|null $second
  */
 public function __construct($entity, $first = null, $second = null)
 {
     $this->first = $first;
     $this->second = $second;
     parent::__construct($entity);
 }