| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 100 lines (3 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
RequiredOption:: (6 methods):
__construct()
getName()
getValue()
getJsonSchema()
toArray()
fromArray()
Class: RequiredOption - X-Ref
Represents an option that the implementing code requires the model to support.| __construct(OptionEnum $name, $value) X-Ref |
| Constructor. param: OptionEnum $name The option name. param: mixed $value The value that the model must support for this option. |
| getName() X-Ref |
| Gets the option name. return: OptionEnum The option name. |
| getValue() X-Ref |
| Gets the value that the model must support for this option. return: mixed The value that the model must support. |
| getJsonSchema() X-Ref |
| {@inheritDoc} |
| toArray() X-Ref |
| {@inheritDoc} return: RequiredOptionArrayShape |
| fromArray(array $array) X-Ref |
| {@inheritDoc} |
| Generated : Sat Jun 13 09:38:55 2026 | Cross-referenced by PHPXref |