gluon-web-remote

Web remote Administration for big size of gluon routers
git clone git://archive.git.mtrnord.blog/MTRNord/gluon-web-remote.git
Log | Files | Refs | README

CoveredClass.php (587B)


      1 <?php
      2 class CoveredParentClass
      3 {
      4     private function privateMethod()
      5     {
      6     }
      7 
      8     protected function protectedMethod()
      9     {
     10         $this->privateMethod();
     11     }
     12 
     13     public function publicMethod()
     14     {
     15         $this->protectedMethod();
     16     }
     17 }
     18 
     19 class CoveredClass extends CoveredParentClass
     20 {
     21     private function privateMethod()
     22     {
     23     }
     24 
     25     protected function protectedMethod()
     26     {
     27         parent::protectedMethod();
     28         $this->privateMethod();
     29     }
     30 
     31     public function publicMethod()
     32     {
     33         parent::publicMethod();
     34         $this->protectedMethod();
     35     }
     36 }