File: ConstVisibilityEnumExtended.php

package info (click to toggle)
php-enum 4.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 556 kB
  • sloc: php: 3,481; xml: 15; makefile: 8
file content (26 lines) | stat: -rw-r--r-- 716 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
26
<?php

namespace MabeEnumTest\TestAsset;

use MabeEnum\Enum;

/**
 * Enumeration with mixed constant visibility added in PHP-7.1
 * and inheritance
 *
 * @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 IPUB2()
 * @method static static PUB2()
 */
class ConstVisibilityEnumExtended extends ConstVisibilityEnum
{
    const IPUB2 = 'indirect public extended';
    public const PUB2 = 'public extended';
    protected const PRO2 = 'protected extended';

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