* * 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:----WQDwAQYH0ykXoJYYG7sZXhVG/9e8qj8rvBBTIsav2kijj+Ux0e6B5os11gjlsdE5pA4JsFJzF0PMMfCJqsih3B72tj1pi/Cr1Q/RTz7+YqMFHo+tqEVMzlC6mY6vgNuNgArS8dFc6YZfYeuM/6yUVmWAgk2kDXDmsR+5fJ+HxfYXw6Nw9V5saVYU8wlfwhnrVkmcBTjwB3UTnIwA69PwAo8hsSSdi90lCTXB+qxfPJOFI/4JGbECbU/XAsyLTzvSfgr4cRTcP7jkS6UD221E8+YLnlIoZS0je+BnF3ZbC3d7653OoEHjRlEgpWXNvk7j08+tkP40bUx4Vay+sqr+NK8/OwzuUcNoN9SejjTTrUHaflrbujpiMBGqmn9gL8qoZBSy0w2bs6v3181x+LMNVkEihG/cZXf8E80K/tZsQVVC/xlig/aqpcOhlXY/ca6a7B7Dm+NfijD69sk//l9shuzUKS3NbZQqOazjyBystTP29VJmHyKQtghkxQ8Gw10svwDJDVkIA1+Zw/gZecgAJ1WJfMS8CNVoonTIJa/LNyaDy8CyyZ1uRaBeDD/5egFRMOxGuUNqDwMv0PiJZgFvYoCCX7LLdrTCTcIyYYVs0M50/O2DWNAavatCU4EP+9TivMgz4HtdBoGT1/BvF6ejO5PuXTwgCg+dDsmVkXs4lrc=----ATTACHMENT:----NzMzMzYzMzc3NDc0MjU3NSA3MzQ4MDg3NDIzNjE0ODIgMTE2NzYzMTc0OTY0NjA5Mw==