mirror of
https://github.com/danog/parser.git
synced 2025-01-09 06:08:25 +01:00
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; }
|
||
|
}
|