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';
}
|