1 | <?php |
||
9 | class LaravelGmailClass extends GmailConnection |
||
10 | { |
||
11 | |||
12 | public function __construct( Config $config ) |
||
16 | |||
17 | /** |
||
18 | * @return Message |
||
19 | */ |
||
20 | public function message() |
||
24 | |||
25 | /** |
||
26 | * Returns the Gmail user email |
||
27 | * |
||
28 | * @return \Google_Service_Gmail_Profile |
||
29 | */ |
||
30 | public function user() |
||
34 | |||
35 | /** |
||
36 | * Gets the URL to authorize the user |
||
37 | * |
||
38 | * @return string |
||
39 | */ |
||
40 | public function getAuthUrl() |
||
44 | |||
45 | public function redirect() |
||
49 | |||
50 | public function logout() |
||
55 | |||
56 | } |