LoaderInterface.php 707 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\Serializer\Mapping\Loader;
  11. use Symfony\Component\Serializer\Mapping\ClassMetadataInterface;
  12. /**
  13. * Loads {@link ClassMetadataInterface}.
  14. *
  15. * @author Kévin Dunglas <dunglas@gmail.com>
  16. */
  17. interface LoaderInterface
  18. {
  19. /**
  20. * Load class metadata.
  21. *
  22. * @param ClassMetadataInterface $classMetadata A metadata
  23. *
  24. * @return bool
  25. */
  26. public function loadClassMetadata(ClassMetadataInterface $classMetadata);
  27. }