public function getEncoding($slug = false) { return $slug ? Str::slug($this->encoding, '') : $this->encoding; }