File: ConstVisibilityEnum.php

package info (click to toggle)
php-enum 4.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 556 kB
  • sloc: php: 3,489; xml: 15; makefile: 8
file content (25 lines) | stat: -rw-r--r-- 632 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php

namespace MabeEnumTest\TestAsset;

use MabeEnum\Enum;

/**
 * Enumeration with mixed constant visibility added in PHP-7.1
 *
 * @link http://github.com/marc-mabe/php-enum for the canonical source repository
 * @copyright 2020, Marc Bennewitz
 * @license http://github.com/marc-mabe/php-enum/blob/master/LICENSE.txt New BSD License
 *
 * @method static static IPUB()
 * @method static static PUB()
 */
class ConstVisibilityEnum extends Enum
{
    const IPUB = 'indirect public';
    public const PUB = 'public';
    protected const PRO = 'protected';

    /** @phpstan-ignore-next-line */
    private const PRI = 'private';
}