status === LanguageStatus::Existing; } public function isCreatable(): bool { return $this->status === LanguageStatus::Creatable; } public function isAvailable(): bool { return $this->status !== LanguageStatus::Unavailable; } public function getTitle(): string { return $this->siteLanguage->getTitle(); } public function getFlagIdentifier(): string { return $this->siteLanguage->getFlagIdentifier(); } public function getLanguageId(): int { return $this->siteLanguage->getLanguageId(); } }