Example #1
0
 public function getFillingPercentage()
 {
     if (PHP_SAPI == 'cli') {
         return 0;
     }
     return parent::getFillingPercentage();
 }
Example #2
0
 public function getFillingPercentage()
 {
     if (php_sapi_name() == 'cli') {
         return 0;
     }
     return parent::getFillingPercentage();
 }