App\Http\Controllers\LinkedInController::__construct PHP Method

__construct() public method

Initialize the Controller with necessary arguments
public __construct ( )
    public function __construct()
    {
        $this->baseUrl = self::LINKEDIN_API;
        $this->client = new Client(['base_uri' => $this->baseUrl]);
    }