openmediavault  4.0 (Arrakis)
The open network attached storage solution
Public Member Functions | List of all members
OMV\Rpc\ParamsValidator Class Reference

Public Member Functions

 __construct ($schema)
 
 validate ($params)
 

Constructor & Destructor Documentation

◆ __construct()

OMV\Rpc\ParamsValidator::__construct (   $schema)
Parameters
schemaThe JSON schema that describes the method parameters. Can be given as UTF-8 encoded JSON or an associative array. Alternatively this can be the identifier of a data model used for validation, e.g. 'rpc.rsync.set'.

The documentation for this class was generated from the following file: