FilesLoader

class FilesLoader extends LoaderChain

Base loader for loading validation metadata from a list of files.

Methods

__construct(array $paths)

Creates a new loader.

bool loadClassMetadata(ClassMetadata $metadata)

Loads validation metadata into a {@link ClassMetadata} instance.

from LoaderChain

Details

__construct(array $paths)

Creates a new loader.

Parameters

array $paths An array of file paths

bool loadClassMetadata(ClassMetadata $metadata)

Loads validation metadata into a {@link ClassMetadata} instance.

Parameters

ClassMetadata $metadata The metadata to load

Return Value

bool Whether the loader succeeded
doc_Symfony
2016-10-28 06:16:36
Comments
Leave a Comment

Please login to continue.