4 * This file is part of Psy Shell.
6 * (c) 2012-2018 Justin Hileman
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
14 class ClassWithSecrets
16 private const PRIVATE_CONST = 'private and const';
17 private static $privateStaticProp = 'private and static and prop';
18 private $privateProp = 'private and prop';
20 private static function privateStaticMethod($extra = null)
22 if ($extra !== null) {
23 return 'private and static and method with ' . json_encode($extra);
26 return 'private and static and method';
29 private function privateMethod($extra = null)
31 if ($extra !== null) {
32 return 'private and method with ' . json_encode($extra);
35 return 'private and method';