Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

HostTextNormalizer.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\Core\MVC\Symfony\Component\Serializer;
8
9 use eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\HostText;
10
11 final class HostTextNormalizer extends AbstractPropertyWhitelistNormalizer
12 {
13 protected function getAllowedProperties()
14 {
15 return ['siteAccessesConfiguration'];
16 }
17
18 public function supportsNormalization($data, $format = null)
19 {
20 return $data instanceof HostText;
21 }
22 }
eZ\Publish\Core\MVC\Symfony\Component\Serializer\AbstractPropertyWhitelistNormalizer
Definition: AbstractPropertyWhitelistNormalizer.php:12
eZ\Publish\Core\MVC\Symfony\Component\Serializer\HostTextNormalizer
Definition: HostTextNormalizer.php:12
eZ\Publish\Core\MVC\Symfony\Component\Serializer\HostTextNormalizer\getAllowedProperties
getAllowedProperties()
Definition: HostTextNormalizer.php:13
eZ\Publish\Core\MVC\Symfony\Component\Serializer\HostTextNormalizer\supportsNormalization
supportsNormalization($data, $format=null)
Definition: HostTextNormalizer.php:18
eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\HostText
Definition: HostText.php:13
eZ\Publish\Core\MVC\Symfony\Component\Serializer
Definition: AbstractPropertyWhitelistNormalizer.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.