zalazdi / laravel-imap

Laravel 5 IMAP client.
MIT License
48 stars 24 forks source link

Connection attribute in Client.php must not be protected #23

Open parusel opened 7 years ago

parusel commented 7 years ago

The $connection attribute is protected in Client class. But this will lead to a fatal error in Message.php (line 97).

You should make the connection public or add an getConnection() method.

maverickchangithub commented 6 years ago

@parusel

how to change ? make it public does not work? would you please show me some useful code please.

The Author is too lazy , the readme doc is really not helpful