PHP Интерфейс Bolt\Configuration\Validation\ValidatorInterface

Автор: Gawain Lynch ([email protected])
Показать файл Открыть проект

Открытые методы

Метод Описание
add ( string $checkName, string | Bolt\Configuration\Validation\ValidationInterface $className, boolean $prepend = false ) Add a check.
check ( string $checkName ) : Response | null Perform a named check.
checks ( ) Perform all checks.
has ( string $checkName ) : boolean
remove ( string $checkName ) Remove a check from the list causing it to be skipped.

Описание методов

add() публичный Метод

Add a check.
public add ( string $checkName, string | Bolt\Configuration\Validation\ValidationInterface $className, boolean $prepend = false )
$checkName string Name for the check
$className string | Bolt\Configuration\Validation\ValidationInterface Class name, or instance of a ValidationInterface class
$prepend boolean Prepend to the execution list

check() публичный Метод

Perform a named check.
public check ( string $checkName ) : Response | null
$checkName string Name of the check to run
Результат Symfony\Component\HttpFoundation\Response | null

checks() публичный Метод

Perform all checks.
public checks ( )

has() публичный Метод

public has ( string $checkName ) : boolean
$checkName string
Результат boolean

remove() публичный Метод

Remove a check from the list causing it to be skipped.
public remove ( string $checkName )
$checkName string Name of the check to remove