Phue\User::__construct PHP Method

__construct() public method

Construct a User object
public __construct ( string $username, stdClass $attributes, Client $client )
$username string Username
$attributes stdClass User attributes
$client Client Phue client
    public function __construct($username, \stdClass $attributes, Client $client)
    {
        $this->username = (string) $username;
        $this->attributes = $attributes;
        $this->client = $client;
    }