Documentation

StaticMethodLoader
in package
implements LoaderInterface

Loads validation metadata by calling a static method on the loaded class.

Tags
author

Bernhard Schussek bschussek@gmail.com

Table of Contents

Interfaces

LoaderInterface
Loads validation metadata into {@link ClassMetadata} instances.

Properties

$methodName  : mixed

Methods

__construct()  : mixed
Creates a new loader.
loadClassMetadata()  : bool
Loads validation metadata into a {@link ClassMetadata} instance.

Properties

Methods

__construct()

Creates a new loader.

public __construct([string $methodName = 'loadValidatorMetadata' ]) : mixed
Parameters
$methodName : string = 'loadValidatorMetadata'

The name of the static method to call


        
On this page

Search results