SomeClass.php 564 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /*
  3. * This file is part of Psy Shell.
  4. *
  5. * (c) 2012-2018 Justin Hileman
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Psy\Test\Formatter\Fixtures;
  11. class SomeClass
  12. {
  13. const SOME_CONST = 'some const';
  14. private $someProp = 'some prop';
  15. public function someMethod($someParam)
  16. {
  17. return 'some method';
  18. }
  19. public static function someClosure()
  20. {
  21. return function () {
  22. return 'some closure';
  23. };
  24. }
  25. }