Larabros\Elogram\Client::__construct PHP Method

__construct() public method

Create an instance of :php:class:Client.
public __construct ( string $clientId, string $clientSecret, string | null $accessToken = null, string $redirectUrl = '', array $options = [] )
$clientId string
$clientSecret string
$accessToken string | null
$redirectUrl string
$options array
    public function __construct($clientId, $clientSecret, $accessToken = null, $redirectUrl = '', array $options = [])
    {
        $this->container = $this->buildContainer(array_merge(['client_id' => $clientId, 'client_secret' => $clientSecret, 'access_token' => $accessToken, 'redirect_url' => $redirectUrl], $options));
    }