Skip to content

Instantly share code, notes, and snippets.

@ilya-dev
Created April 28, 2014 16:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ilya-dev/11377184 to your computer and use it in GitHub Desktop.
Save ilya-dev/11377184 to your computer and use it in GitHub Desktop.
What x0 might look like
<?php
/**
* @name facade:resolve
* @desc Show underlying classes and the corresponding IoC bindings
* @sign {query:optional:"The query string":"*"}
*/
class SomeCommand {
public function go($input, $output)
{
$output("The query string is ".$input("query"));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment