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