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.
13 abstract protected function foo();
16 abstract class B
extends A
{
19 public function foo(): void
{}
21 abstract protected function bar();
27 public function bar(): void
{}