StaticSample.php 465 B

12345678910111213141516171819202122232425262728
  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\TabCompletion;
  11. /**
  12. * Class StaticSample.
  13. */
  14. class StaticSample
  15. {
  16. const CONSTANT_VALUE = 12;
  17. public static $staticVariable;
  18. public static function staticFunction()
  19. {
  20. return self::CONSTANT_VALUE;
  21. }
  22. }