/** * Renvoie les Productions liés aux Batiments de cette collection * @return ProductionCollection */ public function getProductions() { if (is_null($this->cacheProductions)) { $this->cacheProductions = ProductionBusiness::getFromBatiments($this); $this->cacheProductions->store(); } return $this->cacheProductions; }
/** * @return void */ public function delete() { ProductionBusiness::delete($this); }
/** * Renvoie les Productions liés à l'objet * @return ProductionCollection */ public function getProductions() { if (is_null($this->cacheProductions)) { $this->cacheProductions = ProductionBusiness::getByInfrastructure($this); $this->cacheProductions->store(); } return $this->cacheProductions; }