コード例 #1
0
ファイル: NullFeature.php プロジェクト: letchik/pheat
 public function __construct($name, $_ignored = null, ProviderInterface $provider = null)
 {
     parent::__construct($name, Status::UNKNOWN, $provider ?: new NullProvider());
 }
コード例 #2
0
ファイル: RatioFeature.php プロジェクト: letchik/pheat
 /**
  * @return bool|null see Status
  */
 public function getStatus()
 {
     $status = parent::getStatus();
     if (empty($status)) {
         return $status;
     }
     $ratio = $this->getRatioStatus();
     return $ratio;
 }