/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
wp-optimize
/
vendor
/
rosell-dk
/
webp-convert
/
src
/
Options
/
Upload File
HOME
<?php namespace WebPConvert\Options; use WebPConvert\Options\Option; use WebPConvert\Options\Exceptions\InvalidOptionValueException; /** * Boolean option * * @package WebPConvert * @author Bjørn Rosell <it@rosell.dk> * @since Class available since Release 2.0.0 */ class BooleanOption extends Option { protected $typeId = 'boolean'; protected $schemaType = ['boolean']; public function check() { $this->checkType('boolean'); } public function getValueForPrint() { return ($this->getValue() === true ? 'true' : 'false'); } }