"boolean" ]; public function getSrcAttribute(){ return env('domain').$this->attributes['src']; // return url($this->attributes['src']); } }