You are here

interface LoaderInterface in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/translation/Loader/LoaderInterface.php \Symfony\Component\Translation\Loader\LoaderInterface
  2. 8 vendor/symfony/validator/Mapping/Loader/LoaderInterface.php \Symfony\Component\Validator\Mapping\Loader\LoaderInterface
  3. 8 vendor/symfony/serializer/Mapping/Loader/LoaderInterface.php \Symfony\Component\Serializer\Mapping\Loader\LoaderInterface
Same name and namespace in other branches
  1. 8.0 vendor/symfony/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 vendor/symfony/validator/Tests/Fixtures/FilesLoader.php
FilesLoaderTest.php in vendor/symfony/validator/Tests/Mapping/Loader/FilesLoaderTest.php
LazyLoadingMetadataFactory.php in vendor/symfony/validator/Mapping/Factory/LazyLoadingMetadataFactory.php
LazyLoadingMetadataFactoryTest.php in vendor/symfony/validator/Tests/Mapping/Factory/LazyLoadingMetadataFactoryTest.php
2 string references to 'LoaderInterface'
NameGeneratorSpec::its_name_generates_name_based_only_on_class_if_its_available in vendor/phpspec/prophecy/spec/Prophecy/Doubler/NameGeneratorSpec.php
NameGeneratorSpec::its_name_generates_name_based_on_interface_shortnames in vendor/phpspec/prophecy/spec/Prophecy/Doubler/NameGeneratorSpec.php

File

vendor/symfony/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. 10