PHP code example of medz / phpwind
1. Go to this page and download the library: Download medz/phpwind library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
medz / phpwind example snippets
dart
final schema = ovo.OneOf([
ovo.Const('mobile'),
ovo.Const('web'),
]);
await schema.parse('mobile'); // => 'mobile'
await schema.parse('web'); // => 'web'