Version.php in Markdown 8.2
File
src/Plugin/Validation/Constraint/Version.php
View source
<?php
namespace Drupal\markdown\Plugin\Validation\Constraint;
use Symfony\Component\Validator\Constraint;
class Version extends Constraint {
public $message = 'Version "@version" does not satisfy the following semantic version constraints "@constraints".';
public $namedMessage = 'Requires @name:@constraints';
public $name;
public $value;
}
Classes
Name |
Description |
Version |
Checks whether a specific version is satisfied by Semver constraints. |