파일 위치를 twe에서 hwe로 옮김.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
namespace sammo\Event\Condition;
|
||||
|
||||
class ConstBool extends \sammo\Event\Condition{
|
||||
private $fixedResult = true;
|
||||
|
||||
public function __construct(bool $value){
|
||||
$this->fixedResult = $value;
|
||||
}
|
||||
|
||||
public function eval($env=null){
|
||||
return [
|
||||
'value'=>$this->fixedResult,
|
||||
'chain'=>['ConstBool']
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user