ICanBoogie
  • Documentation
  • API Reference
  • Validate v0.1.0
Namespaces
  • ICanBoogie
    • Validate
      • Reader
      • Validation
      • Validator
      • ValidatorProvider
Interfaces
  • IfCallable
  • UnlessCallable

Interface UnlessCallable

Callable interface for the ValidatorOptions::OPTION_UNLESS option.

Namespace: ICanBoogie\Validate\Validation
Located at Validation/UnlessCallable.php

Methods summary

public __invoke( ICanBoogie\Validate\Context $context ) : boolean

Whether the validator should be skipped.

Whether the validator should be skipped.

Parameters

$context

Returns

boolean
true if the validator should be skipped, false otherwise.
Validate v0.1.0 – Check on GitHub – API documentation generated by ApiGen