console.php 448 B

12345678910111213141516171819
  1. <?php
  2. /**
  3. * Lithium: the most rad php framework
  4. *
  5. * @copyright Copyright 2010, Union of RAD (http://union-of-rad.org)
  6. * @license http://opensource.org/licenses/bsd-license.php The BSD License
  7. */
  8. use lithium\console\Dispatcher;
  9. Dispatcher::applyFilter('_call', function($self, $params, $chain) {
  10. $params['callable']->response->styles(array(
  11. 'heading' => '\033[1;30;46m'
  12. ));
  13. return $chain->next($self, $params, $chain);
  14. });
  15. ?>