ICanBoogie/Validate master
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • Validate
      • Reader
      • Validation
      • Validator
      • ValidatorProvider

Interfaces

  • IfCallable
  • UnlessCallable

Interface IfCallable

Callable interface for the ValidatorOptions::OPTION_IF option.

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

Methods summary

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

Whether the validator should be used.

Whether the validator should be used.

Parameters

$context

Returns

boolean
true if the validator should be used, false otherwise.
ICanBoogie/Validate master API documentation generated by ApiGen