Mercurial > hg > isophonics-drupal-site
annotate vendor/psy/psysh/test/Formatter/Fixtures/SomeClass.php @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | c2387f117808 |
children |
rev | line source |
---|---|
Chris@16 | 1 <?php |
Chris@16 | 2 |
Chris@16 | 3 /* |
Chris@16 | 4 * This file is part of Psy Shell. |
Chris@16 | 5 * |
Chris@16 | 6 * (c) 2012-2018 Justin Hileman |
Chris@16 | 7 * |
Chris@16 | 8 * For the full copyright and license information, please view the LICENSE |
Chris@16 | 9 * file that was distributed with this source code. |
Chris@16 | 10 */ |
Chris@16 | 11 |
Chris@16 | 12 namespace Psy\Test\Formatter\Fixtures; |
Chris@16 | 13 |
Chris@16 | 14 class SomeClass |
Chris@16 | 15 { |
Chris@16 | 16 const SOME_CONST = 'some const'; |
Chris@16 | 17 private $someProp = 'some prop'; |
Chris@16 | 18 |
Chris@16 | 19 public function someMethod($someParam) |
Chris@16 | 20 { |
Chris@16 | 21 return 'some method'; |
Chris@16 | 22 } |
Chris@16 | 23 |
Chris@16 | 24 public static function someClosure() |
Chris@16 | 25 { |
Chris@16 | 26 return function () { |
Chris@16 | 27 return 'some closure'; |
Chris@16 | 28 }; |
Chris@16 | 29 } |
Chris@16 | 30 } |