BasicObjectArgument.php 368 B

1234567891011121314151617181920
  1. <?php
  2. namespace League\CLImate\Tests\CustomObject;
  3. use League\CLImate\TerminalObject\Basic\BasicTerminalObject;
  4. class BasicObjectArgument extends BasicTerminalObject
  5. {
  6. protected $content;
  7. public function arguments($content)
  8. {
  9. $this->content = $content;
  10. }
  11. public function result()
  12. {
  13. return 'Hey: ' . $this->content;
  14. }
  15. }