3 * Copyright (c) 2014, Facebook, Inc.
6 * This source code is licensed under the BSD-style license found in the
7 * LICENSE file in the "hack" directory of this source tree. An additional grant
8 * of patent rights can be found in the PATENTS file in the same directory.
15 public abstract function whatevs();
18 abstract class ParentClass
implements IParent
{
19 protected function bar() {}
22 abstract class Kid
extends ParentClass
{
25 class Grandkid
extends Kid
{
28 public function whatevs() {}
34 protected function foo() {
35 $this->bar().self
::FOO
.$this->whatevs();
42 protected function another_foo() {
43 $this->bar().self
::FOO
.$this->whatevs();