REST/LinkedInClient.php
public function getConnectionByToken(Token $token)
    {
        $application = $this->oauthApp
            ->getApplication(self::RESOURCE_OWNER);

        $connection = $this->connect($application->getKey(), $application->getSecret(), $token->getAccessToken(), $token->getTokenSecret());

        return new LinkedInClientService($connection);
    }
public function getConnectionByToken(Token $token)
    {
        $application = $this->oauthApp
            ->getApplication(self::RESOURCE_OWNER);

        $connection = $this->connect($application->getKey(), $application->getSecret(), $token->getAccessToken(), $token->getTokenSecret());

        return new LinkedInClientService($connection);
    }
public function getConnectionByToken ( Token $ token ) { $ application = $ this -> oauthApp -> getApplication ( self :: RESOURCE_OWNER ) ; $ connection = $ this -> connect ( $ application -> getKey ( ) , $ application -> getSecret ( ) , $ token -> getAccessToken ( ) , $ token -> getTokenSecret ( ) ) ; return new LinkedInClientService ( $ connection ) ; }
Return a connection based on the suplied Token

@param Token $token

@return LinkedInClientService
Return a connection based on the suplied Token