private function setToken(array $token)
    {
        if (is_a($this->container, '\\ArrayAccess')) {
            $this->container['token'] = $token;
            return;
        }

        $this->container->set('token', $token);
    }
private function setToken(array $token)
    {
        if (is_a($this->container, '\\ArrayAccess')) {
            $this->container['token'] = $token;
            return;
        }

        $this->container->set('token', $token);
    }
private function setToken ( array $ token ) { if ( is_a ( $ this -> container , '\\ArrayAccess' ) ) { $ this -> container [ 'token' ] = $ token ; return ; } $ this -> container -> set ( 'token' , $ token ) ; }
Helper method to set the token value in the container instance.

@param array $token The token from the incoming request.

@return void
Helper method to set the token value in the container instance .