Skip to content

Instantly share code, notes, and snippets.

@datashaman
Last active April 28, 2019 12:29
Show Gist options
  • Select an option

  • Save datashaman/0ac008eaff3bf47904e72fda4e83d6c3 to your computer and use it in GitHub Desktop.

Select an option

Save datashaman/0ac008eaff3bf47904e72fda4e83d6c3 to your computer and use it in GitHub Desktop.
Datashaman\PHPCheck\app Example
<?php
<<<CONFIG
packages:
- "datashaman/phpcheck: dev-wip"
CONFIG;
#
# This is a Melody script. http://melody.sensiolabs.org/
#
use function Datashaman\PHPCheck\app;
app('thing', function ($c) {
return 'THING';
});
echo app('thing') . "\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment