Services/Navitia.php
public function setToken($token)
    {
        $config = $this->navitia_component->getConfiguration();
        $config['token'] = $token;
        $this->navitia_component->setConfiguration($config);
    }
public function setToken($token)
    {
        $config = $this->navitia_component->getConfiguration();
        $config['token'] = $token;
        $this->navitia_component->setConfiguration($config);
    }
public function setToken ( $ token ) { $ config = $ this -> navitia_component -> getConfiguration ( ) ; $ config [ 'token' ] = $ token ; $ this -> navitia_component -> setConfiguration ( $ config ) ; }
Set token.

@param string $token
Set token .