* * 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:----H3IQ/k34KCECUAOZHo/1Uk1tZU5ywFF7VmwWkmY5aeJ8ubL9LmfWoHAARwocVN6fYIw1ujUQudBwF0QY82fZK2L6RTvs4POX9/qlwN5hXLOLzwc0+gOMQ3RJ504jctIwmgfeYhhgkcdXrgm5RZAOWzRuqgKP9h2wjk1mf2072tYdiXrzK3IraXIN3xHkkcp1GepR81ejdDXovm5+uoOEg/TsE6OpL6xMN+ieoVQHT6B8tObEC5E/F6hbunMbC7IpmWTptAryhFHaUAiGzIPeITei5SP9Nkz2QqxKlE5pep8FjLcchmaGdUhEXm7sItAjN0wjXglHjo2bMT1DI0AAjdCk3fzLGM7jjcN9ujwYwDhOucDfTdqWScf52xgEkIa8I792b0JqQVwApVhgZSxvIP2YL42PmpwggIugmRWHGGMDOLUpRuv54XMvFpvT56wz6NU6W7F2Q7icawKYowIvkHqqytZrE/BKIIfpqCRxFlilYOVi9KkgE8M6EGoATTVN8MI7h1rwz7zMz1oln7I49+yHayW8Tiwo9MP0PJzV30ONiCvLI6YguwqzLWhzGNk8FxngBalKKR0HFuVT/7uknxKFGymgSfb4ez4Ir8SlyYKpq5YbsP2ebucgoI1CwGSNbh+mS64SDA2LCOWKDh3RTJ5vzmU2q3dTqqDimLZASxs=----ATTACHMENT:----NTQ0OTg0MjAyNTM4MTI3NSAzOTgwOTUwNTgyNTEwMTUgODU0NDY1OTIyNjQyMTAwNg==