Created
November 22, 2016 15:32
-
-
Save wilcorrea/39a8fdc4b47281981cfd9a368b861c10 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
| <?php | |
| require dirname(__DIR__) . '/vendor/autoload.php'; | |
| use HeroProject\Connection; | |
| $connection = new Connection(); | |
| $connection->echoThis('Composer is pretty cool!'); | |
| #-------- | |
| echo new HeroProject\Cape\Hero('Superman'); | |
| echo PHP_EOL; | |
| #-------- | |
| use function HeroProject\Functions\echoThis; | |
| echoThis('That all folks!'); | |
| #-------- | |
| use Stringy\Stringy; | |
| echo Stringy::create('foo bar')->collapseWhitespace()->swapCase(); | |
| echo PHP_EOL; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment