ICanBoogie/Validate master
  • Namespace
  • Class

Namespaces

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

Classes

  • Context
  • Message
  • Render
  • Validation
  • ValidationErrors

Interfaces

  • Reader
  • Validator
  • ValidatorOptions
  • ValidatorProvider

Exceptions

  • ParameterIsMissing
  • ValidationFailed

Class ValidationErrors

Representation of validation errors.

ArrayObject implements IteratorAggregate, Traversable, ArrayAccess, Serializable, Countable
Extended by ICanBoogie\Validate\ValidationErrors
Namespace: ICanBoogie\Validate
Located at ValidationErrors.php

Methods summary

public static ICanBoogie\Validate\ValidationErrors
# from( array $errors )

Creates a new instance with the specified errors.

Creates a new instance with the specified errors.

Parameters

$errors

Returns

ICanBoogie\Validate\ValidationErrors
public array
# to_array( )

Returns a copy of the instance.

Returns a copy of the instance.

Returns

array
public ICanBoogie\ErrorCollection
# to_error_collection( )

Returns an error collection instance.

Returns an error collection instance.

Returns

ICanBoogie\ErrorCollection
public ICanBoogie\Validate\ValidationErrors
# clear( )

Clears the instance.

Clears the instance.

Returns

ICanBoogie\Validate\ValidationErrors
$this

Methods inherited from ArrayObject

__construct(), append(), asort(), count(), exchangeArray(), getArrayCopy(), getFlags(), getIterator(), getIteratorClass(), ksort(), natcasesort(), natsort(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), serialize(), setFlags(), setIteratorClass(), uasort(), uksort(), unserialize()

Magic methods summary

public ICanBoogie\Validate\Message[]
# offsetGet( $index )

Parameters

$index

Returns

ICanBoogie\Validate\Message[]

Overrides

ArrayObject::offsetGet

Constants summary

Constants inherited from ArrayObject

ARRAY_AS_PROPS, STD_PROP_LIST

ICanBoogie/Validate master API documentation generated by ApiGen