You are here

interface LoaderInterface in Plug 7

Same name in this branch
  1. 7 lib/Symfony/translation/Loader/LoaderInterface.php \Symfony\Component\Translation\Loader\LoaderInterface
  2. 7 lib/Symfony/validator/Symfony/Component/Validator/Mapping/Loader/LoaderInterface.php \Symfony\Component\Validator\Mapping\Loader\LoaderInterface

Loads validation metadata into {@link ClassMetadata} instances.

@author Bernhard Schussek <bschussek@gmail.com>

Hierarchy

Expanded class hierarchy of LoaderInterface

All classes that implement LoaderInterface

4 files declare their use of LoaderInterface
FilesLoader.php in lib/Symfony/validator/Symfony/Component/Validator/Tests/Fixtures/FilesLoader.php
FilesLoaderTest.php in lib/Symfony/validator/Symfony/Component/Validator/Tests/Mapping/Loader/FilesLoaderTest.php
LazyLoadingMetadataFactory.php in lib/Symfony/validator/Symfony/Component/Validator/Mapping/Factory/LazyLoadingMetadataFactory.php
LazyLoadingMetadataFactoryTest.php in lib/Symfony/validator/Symfony/Component/Validator/Tests/Mapping/Factory/LazyLoadingMetadataFactoryTest.php

File

lib/Symfony/validator/Symfony/Component/Validator/Mapping/Loader/LoaderInterface.php, line 21

Namespace

Symfony\Component\Validator\Mapping\Loader
View source
interface LoaderInterface {

  /**
   * Loads validation metadata into a {@link ClassMetadata} instance.
   *
   * @param ClassMetadata $metadata The metadata to load
   *
   * @return bool Whether the loader succeeded
   */
  public function loadClassMetadata(ClassMetadata $metadata);

}

Members

Namesort descending Modifiers Type Description Overrides
LoaderInterface::loadClassMetadata public function Loads validation metadata into a {@link ClassMetadata} instance. 6