Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- php public/index.php run-report --email=first@example.com --email=second@example.com
- run-report [--email=]
- 'test' => array(
- 'type' => 'catchall',
- 'options' => array(
- 'route' => 'test', //this isn't actually necessary
- 'defaults' => array(
- 'controller' => 'ConsoleControllerIndex',
- 'action' => 'test'
- )
- )
- )
- php index.php test --email=test@testing.com --email=test2@testing.com
- print_r( $this->getRequest()->getParams()->toArray() );
- Array
- (
- [0] => test
- [1] => --email=test@testing.com
- [2] => --email=test2@testing.com
- [controller] => ConsoleControllerIndex
- [action] => test
- )
- php index.php email --email=test@testing.com --email=test2@testing.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement