Esempio n. 1
0
 /**
  * Constructor
  * @param string $name
  */
 public function __construct($name = '')
 {
     $this->events = new ArrayCollection();
     $this->userCalendars = new ArrayCollection();
     parent::__construct();
     $this->setName($name);
 }
Esempio n. 2
0
 public function __construct(array $name = [])
 {
     $this->images = new ArrayCollection();
     $this->userPlaces = new ArrayCollection();
     parent::__construct();
     $this->setName($name);
 }