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