alizer(new \Symfony\Component\Serializer\Normalizer\ArrayDenormalizer(), $d, 'default'), new \Symfony\Component\Serializer\Debug\TraceableNormalizer(new \Symfony\Component\Serializer\Normalizer\ObjectNormalizer($e, $f, $c, $g, $h, NULL, ['json_decode_detailed_errors' => true], $g), $d, 'default')], [new \Symfony\Component\Serializer\Debug\TraceableEncoder(new \Shopware\Core\Framework\Api\Serializer\JsonApiDecoder(), $d, 'default'), new \Symfony\Component\Serializer\Debug\TraceableEncoder(new \Symfony\Component\Serializer\Encoder\XmlEncoder(['json_decode_detailed_errors' => true]), $d, 'default'), new \Symfony\Component\Serializer\Debug\TraceableEncoder(new \Symfony\Component\Serializer\Encoder\JsonEncoder(NULL, NULL, ['json_decode_detailed_errors' => true]), $d, 'default'), new \Symfony\Component\Serializer\Debug\TraceableEncoder(new \Symfony\Component\Serializer\Encoder\YamlEncoder(NULL, NULL, ['json_decode_detailed_errors' => true]), $d, 'default'), new \Symfony\Component\Serializer\Debug\TraceableEncoder(new \Symfony\Component\Serializer\Encoder\CsvEncoder(['json_decode_detailed_errors' => true]), $d, 'default')], ['json_decode_detailed_errors' => true]), $d, 'default'); } /** * Gets the private 'debug.validator' shared service. * * @return \Symfony\Component\Validator\Validator\TraceableValidator */ protected static function getDebug_ValidatorService($container) { $a = ($container->privates['validator.builder'] ?? self::getValidator_BuilderService($container)); if (isset($container->privates['debug.validator'])) { return $container->privates['debug.validator']; } return $container->privates['debug.validator'] = new \Symfony\Component\Validator\Validator\TraceableValidator($a->getValidator()); } /** * Gets the private 'error_handler.error_renderer.html' shared service. * * @return \Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer */ protected static function getErrorHandler_ErrorRenderer_HtmlService($container) { $a = ($container->services['request_stack'] ??= new \Symfony\Component\HttpFoundation\RequestStack()); return $container->privates['error_handler.error_renderer.html'] = new \Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer(\Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer::isDebug($a, true), 'UTF-8', ($container->privates['debug.file_link_formatter'] ?? self::getDebug_FileLinkFormatterService($container)), \dirname(__DIR__, 4), \Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer::getAndCleanOutputBuffer($a), ($container->privates['monolog.logger'] ?? self::getMonolog_LoggerService($container))); } /** * Gets the private 'esi_listener' shared service. * * @return \Symfony\Component\HttpKernel\EventListener\SurrogateListener */ protected static function getEsiListenerService($container) { return $container->privates['esi_listener'] = new \Symfony\Component\HttpKernel\EventListener\SurrogateListener(($container->privates['esi'] ??= new \Shopware\Core\Framework\Adapter\Kernel\EsiDecoration())); } /** * Gets the private 'exception_listener' shared service. * * @return \Symfony\Component\HttpKernel\EventListener\ErrorListener */ protected static function getExceptionListenerService($container) { return $container->privates['exception_listener'] = new \Symfony\Component\HttpKernel\EventListener\ErrorListener('error_controller', ($container->privates['monolog.logger.request'] ?? self::getMonolog_Logger_RequestService($container)), true, ['Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException' => ['log_level' => 'notice', 'status_code' => NULL], 'Symfony\\Component\\Routing\\Exception\\MissingMandatoryParametersException' => ['log_level' => 'notice', 'status_code' => NULL], 'Symfony\\Component\\HttpKernel\\Exception\\MethodNotAllowedHttpException' => ['log_level' => 'notice', 'status_code' => NULL], 'Symfony\\Component\\HttpKernelon block_core_calendar_update_has_published_post_on_transition_post_status( $new_status, $old_status, $post ) { if ( $new_status === $old_status ) { return; } if ( 'post' !== get_post_type( $post ) ) { return; } if ( 'publish' !== $new_status && 'publish' !== $old_status ) { return; } block_core_calendar_update_has_published_posts(); } add_action( 'delete_post', 'block_core_calendar_update_has_published_post_on_delete' ); add_action( 'transition_post_status', 'block_core_calendar_update_has_published_post_on_transition_post_status', 10, 3 ); }