public function createLanguages(TableNode $langcodesTable)
    {
        foreach ($langcodesTable->getHash() as $row) {
            $language = (object) array(
            'langcode' => $row['languages'],
            );
            $this->languageCreate($language);
        }
    }
public function createLanguages(TableNode $langcodesTable)
    {
        foreach ($langcodesTable->getHash() as $row) {
            $language = (object) array(
            'langcode' => $row['languages'],
            );
            $this->languageCreate($language);
        }
    }
public function createLanguages ( TableNode $ langcodesTable ) { foreach ( $ langcodesTable -> getHash ( ) as $ row ) { $ language = ( object ) array ( 'langcode' => $ row [ 'languages' ] , ) ; $ this -> languageCreate ( $ language ) ; } }
Creates one or more languages.

@Given the/these (following )languages are available:

Provide language data in the following format:

| langcode |
| en       |
| fr       |

@param TableNode $langcodesTable
The table listing languages by their ISO code.
Creates one or more languages .