Symfony\Component\Validator\Mapping\Loader\XmlFileLoader
Synopsis
class XmlFileLoader
extends FileLoader
{
- // members
- protected array $classes;
- // Inherited members from FileLoader
- protected $file;
- // Inherited members from AbstractLoader
- protected array $namespaces;
- // methods
- public void loadClassMetadata()
- protected array parseConstraints()
- protected array parseValues()
- protected array parseOptions()
- protected SimpleXMLElement parseFile()
- // Inherited methods from FileLoader
- public void __construct()
- // Inherited methods from AbstractLoader
- protected void addNamespaceAlias()
- protected Constraint newConstraint()
Hierarchy
Members
protected
- $classes
—
array
An array of SimpleXMLElement instances. - $file
- $namespaces
—
array
Contains all known namespaces indexed by their prefix
Methods
protected
- parseConstraints() — Parses a collection of "constraint" XML nodes.
- parseFile() — Parse a XML File.
- parseOptions() — Parses a collection of "option" XML nodes.
- parseValues() — Parses a collection of "value" XML nodes.
public
- loadClassMetadata() — {@inheritDoc}
Inherited from Symfony\Component\Validator\Mapping\Loader\AbstractLoader
protected
- addNamespaceAlias() — Adds a namespace alias.
- newConstraint() — Creates a new constraint instance for the given constraint name.