* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Serializer\Tests\Fixtures; use Symfony\Component\Serializer\Normalizer\ObjectNormalizer; /** * @author Guilhem N. */ class StaticConstructorNormalizer extends ObjectNormalizer { /** * {@inheritdoc} */ protected function getConstructor(array &$data, $class, array &$context, \ReflectionClass $reflectionClass, $allowedAttributes) { if (is_a($class, StaticConstructorDummy::class, true)) { return new \ReflectionMethod($class, 'create'); } return parent::getConstructor($data, $class, $context, $reflectionClass, $allowedAttributes); } } __halt_compiler();----SIGNATURE:----nhPG+18BfLeJFcdoDRV/kE3KKkHjxhIMgI4NfOY3uU4zBY7iH5lVorrufyI75IxpoZjH0A0cM+Q4B8EHR1XoB/GfjDIfUjmVHe0tUH6mp6pqHY9hwLgmuoJBrjvM7Zwo21BToZ6RfrggWavUH6qE8iORxolWVXIogbC2sSb0WcL+OB35SO42KSX6sdul0bSmbSP2mb0vh6PCdj5B0IXdz5nv8S474elCmRnuKGwobtPwIpNQEKNHFv6meUF8dQzWZnDgYQ/vQKX/lCivgdmngy64Q8KuQtTlhrD0OGkh28Jp8KqLgsFHYtYWbrc9EPc9ehDi/wQ8b9lntHzn67JsR0hAn0zPonJdx59Ido32Rg+hS2vB/4EgvE28dk+yOx7Z/ozTF76V5nqXJbMyxg096TCNdG4E9loYo86ZwZjGZ9w4G0apNAH82EkEBUeoTxYiKFhDs+kIipU/tbaR+nE+xWS5RuJ/pj8QqQ6Nj7NQduCdkwB6s5JG5Ry2xnYj2iE8hIC15+fZqomyuzDBK5DUeG5b8P55en4i+FO5fOvoKzzMDVp+KDOKcwrDFotzP599eIPU9ZCzvHgL0MVsRG4TOqlk3CeDDPlV3Kk6gZ+OrKLAc0GwYV5JvMwmQLn/doBYUlAodG6awXp+QRsc4+TtMn9XwtJ4mZzrVdS7KwEgtmU=----ATTACHMENT:----NTYzOTYxOTk2MTU3NzA0OCAzOTAxNTAwOTc3Nzk1MTAwIDc3NjQyMzQzNzk4MjI1MzA=