Esempio n. 1
0
 /**
  * Create a new project
  * @param string $name The project's name
  */
 public function __construct($name)
 {
     parent::__construct();
     // Set cretion date
     $this->creationDate = new \DateTime("now");
     $this->setName($name);
     $this->ngis = new ArrayCollection();
 }
Esempio n. 2
0
 public function __construct()
 {
     parent::__construct();
     // Set cretion date
     $this->creationDate = new \DateTime("now");
     $this->serviceGroupProperties = new ArrayCollection();
     $this->scopes = new ArrayCollection();
     $this->services = new ArrayCollection();
 }
Esempio n. 3
0
 public function __construct()
 {
     parent::__construct();
     // Set cretion date
     $this->creationDate = new \DateTime("now");
     $this->sites = new ArrayCollection();
     $this->projects = new ArrayCollection();
     $this->scopes = new ArrayCollection();
 }
Esempio n. 4
0
 public function __construct()
 {
     parent::__construct();
     // Make sure all dates are treated as UTC!
     // Set cretion date
     $this->creationDate = new \DateTime("now");
     $this->services = new ArrayCollection();
     $this->siteProperties = new ArrayCollection();
     $this->scopes = new ArrayCollection();
     $this->users = new ArrayCollection();
     $this->certificationStatusLog = new ArrayCollection();
 }