public function getConfigAttribute($attribute) { if (!$this->hasConfigAttribute($attribute)) { return null; } return $this->_config[$attribute]; }