* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Serializer\Mapping\Factory; use Symfony\Component\Serializer\Exception\InvalidArgumentException; use Symfony\Component\Serializer\Mapping\ClassMetadataInterface; /** * Returns a {@see ClassMetadataInterface}. * * @author Kévin Dunglas */ interface ClassMetadataFactoryInterface { /** * If the method was called with the same class name (or an object of that * class) before, the same metadata instance is returned. * * If the factory was configured with a cache, this method will first look * for an existing metadata instance in the cache. If an existing instance * is found, it will be returned without further ado. * * Otherwise, a new metadata instance is created. If the factory was * configured with a loader, the metadata is passed to the * {@link \Symfony\Component\Serializer\Mapping\Loader\LoaderInterface::loadClassMetadata()} method for further * configuration. At last, the new object is returned. * * @param string|object $value * * @return ClassMetadataInterface * * @throws InvalidArgumentException */ public function getMetadataFor($value); /** * Checks if class has metadata. * * @param mixed $value * * @return bool */ public function hasMetadataFor($value); } __halt_compiler();----SIGNATURE:----eODxIc2dZb0LEiqWVa7A/y6tHa/pT1qB0JAGZyL6vxAZ9jEtixAEzAbPE1XtGdj0Vkq9S9JIcGxpylgE9sqkseu5W8ckJ1i6+OWFhNIBF/qi2DynaO4csB8z31xSU7K1egjOqXA23+QW+OnGhDR/3EprO0pzFgKg+l0a8/UAEu2euoKJluZ7zzMPa6v86ENBVkcRmxkbUhxAOYyjv/oYZ8tE5TAT/oKNAuKDC2ftouklhF85+BJtW6aqFh9cZ5xSYZZVTzMZuf+RYFFrBpwh8g73UL+tRkMrMxm3Qo4nuayzullylUBIEyB2XmF5xiLmwzFxPPO0M9vB5e8ndoBTUr1ElCCBRrkYjg+lqVvv++UWwbyIlEBz8pRaLwM39BxdsTVp/9DYvJJWXMQ0L5Z6mCK2SWAYj3rnhin5El1QtkP1ES7rIo8l7xDAdOdYa540Gy4iOMkGvyifoONFBy1nwWsmNMJhioYPkozAxtzhZsXwgbKH785O4JymuDwtSHKhIwmHwApCnhb+z1A2D2kZFbAn6oW+lhJ7GSr0oIjh2QctKF4OBlKWxm5Zc1p2PJ22w6Z7k046C8QjxmnSzbacPhwutggCZcd5iT6u8foLjjf2Wv75QoCVWfYu8WjH2A4r6U1NmeoWu2MQtFtjkT0QPD4buT6Ydeq1HmRU5F29LdQ=----ATTACHMENT:----OTkzNDY3NDg1Mzk3MzM2NiAzMDIxOTc4NjQxNDc0NzMxIDkzMTI5MzYwNjU3MDk0NDY=