Файловый менеджер - Редактировать - /home/digitalm/yhubita/wp-content/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Options/ArrayOption.php
Назад
<?php namespace WebPConvert\Options; use WebPConvert\Options\Option; use WebPConvert\Options\Exceptions\InvalidOptionValueException; /** * Abstract option class * * @package WebPConvert * @author Bjørn Rosell <it@rosell.dk> * @since Class available since Release 2.0.0 */ class ArrayOption extends Option { protected $typeId = 'array'; protected $schemaType = ['array']; public function check() { $this->checkType('array'); } public function getValueForPrint() { if (count($this->getValue()) == 0) { return '(empty array)'; } else { return parent::getValueForPrint(); } } public function getDefinition() { $obj = parent::getDefinition(); $obj['sensitive'] = false; return $obj; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Генерация страницы: 0.05 |
proxy
|
phpinfo
|
Настройка