mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-12 00:59:49 +01:00
25 lines
337 B
Plaintext
25 lines
337 B
Plaintext
|
Trait uses and adaptations
|
||
|
-----
|
||
|
<?php
|
||
|
|
||
|
class A
|
||
|
{
|
||
|
use B, C, D {
|
||
|
f as g;
|
||
|
f as private;
|
||
|
f as private g;
|
||
|
B::f as g;
|
||
|
B::f insteadof C, D;
|
||
|
}
|
||
|
}
|
||
|
-----
|
||
|
class A
|
||
|
{
|
||
|
use B, C, D {
|
||
|
f as g;
|
||
|
f as private;
|
||
|
f as private g;
|
||
|
B::f as g;
|
||
|
B::f insteadof C, D;
|
||
|
}
|
||
|
}
|