Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpokenLanguage model is missing english_name support #277

Open
trovster opened this issue Nov 8, 2024 · 0 comments · May be fixed by #278
Open

SpokenLanguage model is missing english_name support #277

trovster opened this issue Nov 8, 2024 · 0 comments · May be fixed by #278

Comments

@trovster
Copy link

trovster commented Nov 8, 2024

I am trying to get the english_name from the spoken language for a movie. The SpokenLanguage model only supports the iso and name values. The API has the following;

if (array_key_exists('spoken_languages', $data)) {
    // {
    //     "english_name": "French",
    //     "iso_639_1": "fr",
    //     "name": "Français"
    //   }
    $movie->setSpokenLanguages(
        $this->createGenericCollection($data['spoken_languages'], new SpokenLanguage())
    );
}
@trovster trovster linked a pull request Nov 8, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant