/** * Sets the environment * @param zibo\core\environment\Environment $environment * @return null */ public function setEnvironment(Environment $environment) { $this->environment = $environment; $this->environment->setZibo($this); }