ICanBoogie
  • Documentation
  • API Reference
  • Validate master
Namespaces
  • ICanBoogie
    • Validate
      • Reader
      • Validation
      • Validator
      • ValidatorProvider
Classes
  • Context
  • Message
  • Render
  • Validation
  • ValidationErrors
Interfaces
  • Reader
  • Validator
  • ValidatorOptions
  • ValidatorProvider
Exceptions
  • ParameterIsMissing
  • ValidationFailed

Class Render

Renders messages and values.

Namespace: ICanBoogie\Validate
Located at Render.php

Methods summary

public static render_message( ICanBoogie\Validate\Message $message ) : string

Renders a message into a string.

Renders a message into a string.

Parameters

$message

Returns

string
public static render_type( mixed $value ) : string

Renders value type.

Renders value type.

Parameters

$value

Returns

string
public static render_value( mixed $value ) : string

Renders a value into a string.

Renders a value into a string.

Parameters

$value

Returns

string
protected static build_replace( array $args ) : array

Creates replace array.

Creates replace array.

Parameters

$args

Returns

array
protected static render_null( void ) : string

Renders null.

Renders null.

Returns

string
protected static render_boolean( boolean $value ) : string

Renders a boolean.

Renders a boolean.

Parameters

$value

Returns

string
protected static render_array( array $value ) : string

Renders an array.

Renders an array.

Parameters

$value

Returns

string
protected static render_object( mixed $value ) : string

Renders an object.

Renders an object.

Parameters

$value

Returns

string
protected static render_other( mixed $value ) : string

Renders other types.

Renders other types.

Parameters

$value

Returns

string
Validate master – Check on GitHub – API documentation generated by ApiGen