for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Phpsa\Datastore\Ams;
use Phpsa\Datastore\Asset;
class BooleanAsset extends Asset {
public $shortname = 'Bool';
public $type = BooleanAsset::class;
public $namespace = 'property';
public static function html($data) {
return !empty($data['value']) ? 'on' : 'off';
}