/** * 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(); }
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(); }
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(); }
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(); }