If a class has constant-values containing the class-keyword (used for name resolution) all method-modifiers get stripped from all methods except the first method.
Example:
class Foo
{
const BAR_CLASS = Bar::class;
public function method1()
{
// ...
}
public function method2()
{
// ...
}
protected function method3()
{
// ...
}
}
Result:
class Foo
{
const BAR_CLASS = Bar::class;
public function method1()
{
// ...
}
function method2()
{
// ...
}
function method3()
{
// ...
}
}
If a class has constant-values containing the class-keyword (used for name resolution) all method-modifiers get stripped from all methods except the first method.
Example:
Result: