XeroPHP\Application\PrivateApplication::__construct PHP Method

__construct() public method

public __construct ( $config )
    public function __construct($config)
    {
        //As we don't need to Authorize/RequestToken, it's populated here.
        $config['oauth']['token'] = $config['oauth']['consumer_key'];
        parent::__construct($config);
    }
PrivateApplication