public function getEnvironment() { return isset($this->attributes['environment']) ? $this->attributes['environment'] : null; }