File modules/dsl/standard/BooleanWrapper.class.php
Last commit: Tue Jul 19 00:10:19 2022 +0200 Jan Dankert New: Secure Flag for Script Interpreter which is enabled by default.
1 <?php 2 3 4 namespace dsl\standard; 5 6 7 use dsl\context\BaseScriptableObject; 8 9 class BooleanWrapper extends BaseScriptableObject 10 { 11 public function __toString() 12 { 13 return "Boolean"; 14 } 15 16 17 public function __invoke( $value ) 18 { 19 return new BooleanInstance( $value ); 20 } 21 }
Downloadmodules/dsl/standard/BooleanWrapper.class.php
History Tue, 19 Jul 2022 00:10:19 +0200 Jan Dankert New: Secure Flag for Script Interpreter which is enabled by default.