示例#1
0
 public function __construct($name, $_ignored = null, ProviderInterface $provider = null)
 {
     parent::__construct($name, Status::UNKNOWN, $provider ?: new NullProvider());
 }
示例#2
0
 /**
  * @return bool|null see Status
  */
 public function getStatus()
 {
     $status = parent::getStatus();
     if (empty($status)) {
         return $status;
     }
     $ratio = $this->getRatioStatus();
     return $ratio;
 }