You are here

CoveredClass.php in Zircon Profile 8.0

File

vendor/phpunit/phpunit/tests/_files/CoveredClass.php
View source
<?php

class CoveredParentClass {
  private function privateMethod() {
  }
  protected function protectedMethod() {
    $this
      ->privateMethod();
  }
  public function publicMethod() {
    $this
      ->protectedMethod();
  }

}
class CoveredClass extends CoveredParentClass {
  private function privateMethod() {
  }
  protected function protectedMethod() {
    parent::protectedMethod();
    $this
      ->privateMethod();
  }
  public function publicMethod() {
    parent::publicMethod();
    $this
      ->protectedMethod();
  }

}

Classes