Sid Gifari File Manager
🏠 Root
/
home
/
nradmin
/
www
/
wp-content
/
plugins
/
wp-optimize
/
vendor
/
rosell-dk
/
webp-convert
/
src
/
Options
/
📝 Editing: BooleanOption.php
<?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'); } }
💾 Save
❌ Cancel
Sid Gifari File Manager v1.0 | Terminal Auto-Sync Enabled | Current Path: /home/nradmin/www/wp-content/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Options