We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9c5dc3 commit 4f45805Copy full SHA for 4f45805
src/Translatable/Contracts/Translatable.php
@@ -17,6 +17,8 @@ public function translations(): HasMany;
17
18
public function deleteTranslations($locales = null): void;
19
20
+ public function getDefaultLocale(): ?string;
21
+
22
public function getNewTranslation(string $locale): Model;
23
24
public function getTranslation(?string $locale = null, bool $withFallback = null): ?Model;
src/Translatable/Translatable.php
@@ -135,9 +135,6 @@ public function getAttribute($key)
135
return parent::getAttribute($key);
136
}
137
138
- /**
139
- * @internal will change to protected
140
- */
141
public function getDefaultLocale(): ?string
142
{
143
return $this->defaultLocale;
0 commit comments