mirror of
https://github.com/danog/parser.git
synced 2024-11-30 04:29:13 +01:00
017b2e19c3
Signed-off-by: azjezz <azjezz@protonmail.com> Signed-off-by: azjezz <azjezz@protonmail.com>
23 lines
240 B
PHP
23 lines
240 B
PHP
<?php
|
|
|
|
class Foo2 {
|
|
use B {
|
|
foo as protected bar;
|
|
}
|
|
}
|
|
|
|
class Bar2 {
|
|
use B,
|
|
C {
|
|
B::foo insteadof C;
|
|
}
|
|
}
|
|
|
|
class Bar3 {
|
|
use B { B::foo as bar; }
|
|
}
|
|
|
|
class Bar4 {
|
|
use B { foo as bar; }
|
|
}
|