Skip to content

SpokenLanguage model is missing english_name support #277

@trovster

Description

@trovster

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())
    );
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions