3 * Copyright (c) 2014, Facebook, Inc.
6 * This source code is licensed under the MIT license found in the
7 * LICENSE file in the "hack" directory of this source tree.
15 public function baz(): void
;
18 interface I2
extends I1
{}
21 protected function foo(): void
{
22 echo __METHOD__
, "\n";
27 require extends Super
;
28 require implements I1
;
30 public function bar(): void
{
31 echo '[', self
::ICONST
, ']', "\n";
36 // <<__Override>> // FIXME: check without a use class?
37 // protected function override_me(): void {}
41 use Trait1
; // Requirements of Trait1 inherited
43 protected function f() {
46 protected function g() {
57 public function baz(): void
{