Created
September 10, 2015 18:42
-
-
Save jonnywilliamson/64feef946def79741b25 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Route::get('/bot', function (\Telegram\Bot\Api $telegram) { | |
| $facade = Telegram::getAccessToken(); | |
| echo "Facade says: $facade <br />"; | |
| $di = $telegram->getAccessToken(); | |
| echo "DI says says: $di <br />"; | |
| $tg = app('\Telegram\Bot\Api'); | |
| $make = $tg->getAccessToken(); | |
| echo "App make says: $make <br />"; | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment