mirror of
https://github.com/danog/parser.git
synced 2024-12-13 09:37:18 +01:00
479f51913c
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; }
|
|
}
|