'array', 'address' => 'array', 'schedule' => 'array', 'map' => 'array', 'orientation' => 'array', ]; protected $hidden = [ 'created_at', 'updated_at', 'deleted_at' ]; /** * @return mixed */ public function getName() { return $this->name[App::getLocale()] ?? null; } /** * @return mixed */ public function getAddress() { return $this->address[App::getLocale()] ?? null; } /** * @return mixed */ public function getSchedule() { return $this->schedule[App::getLocale()] ?? null; } public function getLat(): string { return (string) $this->map['lat']; } public function getLong(): string { return (string) $this->map['long']; } public function getPhone(): string { return (string) $this->phone; } }