1234567891011121314151617181920212223 |
- --TEST--
- Abstract private trait method forwarded as abstract protected method
- --FILE--
- <?php
- trait T {
- abstract private function method(int $a, string $b);
- }
- abstract class C {
- use T;
- abstract protected function method(int $a, string $b);
- }
- class D extends C {
- protected function method(int $a, string $b) {}
- }
- ?>
- ===DONE===
- --EXPECT--
- ===DONE===
|