-
-
Notifications
You must be signed in to change notification settings - Fork 955
Closed
Description
I have custom operation where i return l fetch data from user and normalize them and return
$publications = $this->getUser()->getPublications()->getValues();
$data = $serializer->normalize($publications, null, ['groups' => 'page_tree']);
{
"@context": "/api/contexts/Error",
"@type": "hydra:Error",
"hydra:title": "An error occurred",
"hydra:description": "Entity of type 'App\\Entity\\Page' for IDs id(3348) was not found",
"trace": [
{
"namespace": "",
"short_class": "",
"class": "",
"type": "",
"function": "",
"file": "/var/www/local.project.lan/public_html/vendor/doctrine/orm/lib/Doctrine/ORM/EntityNotFoundException.php",
"line": 47,
"args": []
},
{
"namespace": "Doctrine\\ORM",
"short_class": "EntityNotFoundException",
"class": "Doctrine\\ORM\\EntityNotFoundException",
"type": "::",
"function": "fromClassNameAndIdentifier",
"file": "/var/www/local.project.lan/public_html/vendor/doctrine/orm/lib/Doctrine/ORM/Proxy/ProxyFactory.php",
"line": 164,
"args": [
[
"string",
"App\\Entity\\Page"
],
[
"array",
{
"id": [
"integer",
3348
]
}
]
]
},
{
"namespace": "Doctrine\\ORM\\Proxy",
"short_class": "ProxyFactory",
"class": "Doctrine\\ORM\\Proxy\\ProxyFactory",
"type": "->",
"function": "Doctrine\\ORM\\Proxy\\{closure}",
"file": "/var/www/local.project.lan/public_html/var/cache/dev/doctrine/orm/Proxies/__CG__AppEntityPage.php",
"line": 363,
"args": [
[
"object",
"Proxies\\__CG__\\App\\Entity\\Page"
],
[
"string",
"getTemplate"
],
[
"array",
[]
]
]
},
{
"namespace": "",
"short_class": "Closure",
"class": "Closure",
"type": "->",
"function": "__invoke",
"file": "/var/www/local.project.lan/public_html/var/cache/dev/doctrine/orm/Proxies/__CG__AppEntityPage.php",
"line": 363,
"args": [
[
"object",
"Proxies\\__CG__\\App\\Entity\\Page"
],
[
"string",
"getTemplate"
],
[
"array",
[]
]
]
},
{
"namespace": "Proxies\\__CG__\\App\\Entity",
"short_class": "Page",
"class": "Proxies\\__CG__\\App\\Entity\\Page",
"type": "->",
"function": "getTemplate",
"file": "/var/www/local.project.lan/public_html/vendor/symfony/property-access/PropertyAccessor.php",
"line": 372,
"args": []
},
{
"namespace": "Symfony\\Component\\PropertyAccess",
"short_class": "PropertyAccessor",
"class": "Symfony\\Component\\PropertyAccess\\PropertyAccessor",
"type": "->",
"function": "readProperty",
"file": "/var/www/local.project.lan/public_html/vendor/symfony/property-access/PropertyAccessor.php",
"line": 295,
"args": [
[
"array",
[
[
"object",
"Proxies\\__CG__\\App\\Entity\\Page"
]
]
],
[
"string",
"template"
]
]
},
{
"namespace": "Symfony\\Component\\PropertyAccess",
"short_class": "PropertyAccessor",
"class": "Symfony\\Component\\PropertyAccess\\PropertyAccessor",
"type": "->",
"function": "readPropertiesUntil",
"file": "/var/www/local.project.lan/public_html/vendor/symfony/property-access/PropertyAccessor.php",
"line": 90,
"args": [
[
"array",
[
[
"object",
"Proxies\\__CG__\\App\\Entity\\Page"
]
]
],
[
"object",
"Symfony\\Component\\PropertyAccess\\PropertyPath"
],
[
"integer",
1
],
[
"boolean",
true
]
]
},
{
"namespace": "Symfony\\Component\\PropertyAccess",
"short_class": "PropertyAccessor",
"class": "Symfony\\Component\\PropertyAccess\\PropertyAccessor",
"type": "->",
"function": "getValue",
"file": "/var/www/local.project.lan/public_html/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php",
"line": 532,
"args": [
[
"object",
"Proxies\\__CG__\\App\\Entity\\Page"
],
[
"object",
"Symfony\\Component\\PropertyAccess\\PropertyPath"
]
]
},
{
"namespace": "ApiPlatform\\Core\\Serializer",
"short_class": "AbstractItemNormalizer",
"class": "ApiPlatform\\Core\\Serializer\\AbstractItemNormalizer",
"type": "->",
"function": "getAttributeValue",
"file": "/var/www/local.project.lan/public_html/vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php",
"line": 132,
"args": [
[
"object",
"Proxies\\__CG__\\App\\Entity\\Page"
],
[
"string",
"template"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"6ec67f132121afefb58b6712c74d2602"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
],
"0000000003730e11000000001c7d758b": [
"integer",
1
],
"0000000003730ea7000000001c7d758b": [
"integer",
1
],
"0000000003730ebb000000001c7d758b": [
"integer",
1
],
"0000000003730eb1000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"template"
]
}
]
]
},
{
"namespace": "Symfony\\Component\\Serializer\\Normalizer",
"short_class": "AbstractObjectNormalizer",
"class": "Symfony\\Component\\Serializer\\Normalizer\\AbstractObjectNormalizer",
"type": "->",
"function": "normalize",
"file": "/var/www/local.project.lan/public_html/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php",
"line": 153,
"args": [
[
"object",
"Proxies\\__CG__\\App\\Entity\\Page"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"6ec67f132121afefb58b6712c74d2602"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
],
"0000000003730e11000000001c7d758b": [
"integer",
1
],
"0000000003730ea7000000001c7d758b": [
"integer",
1
],
"0000000003730ebb000000001c7d758b": [
"integer",
1
],
"0000000003730eb1000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"root"
]
}
]
]
},
{
"namespace": "ApiPlatform\\Core\\Serializer",
"short_class": "AbstractItemNormalizer",
"class": "ApiPlatform\\Core\\Serializer\\AbstractItemNormalizer",
"type": "->",
"function": "normalize",
"file": "/var/www/local.project.lan/public_html/vendor/symfony/serializer/Serializer.php",
"line": 152,
"args": [
[
"object",
"Proxies\\__CG__\\App\\Entity\\Page"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"6ec67f132121afefb58b6712c74d2602"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
],
"0000000003730e11000000001c7d758b": [
"integer",
1
],
"0000000003730ea7000000001c7d758b": [
"integer",
1
],
"0000000003730ebb000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"root"
]
}
]
]
},
{
"namespace": "Symfony\\Component\\Serializer",
"short_class": "Serializer",
"class": "Symfony\\Component\\Serializer\\Serializer",
"type": "->",
"function": "normalize",
"file": "/var/www/local.project.lan/public_html/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php",
"line": 606,
"args": [
[
"object",
"Proxies\\__CG__\\App\\Entity\\Page"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"6ec67f132121afefb58b6712c74d2602"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
],
"0000000003730e11000000001c7d758b": [
"integer",
1
],
"0000000003730ea7000000001c7d758b": [
"integer",
1
],
"0000000003730ebb000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"root"
]
}
]
]
},
{
"namespace": "ApiPlatform\\Core\\Serializer",
"short_class": "AbstractItemNormalizer",
"class": "ApiPlatform\\Core\\Serializer\\AbstractItemNormalizer",
"type": "->",
"function": "normalizeRelation",
"file": "/var/www/local.project.lan/public_html/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php",
"line": 559,
"args": [
[
"object",
"ApiPlatform\\Core\\Metadata\\Property\\PropertyMetadata"
],
[
"object",
"Proxies\\__CG__\\App\\Entity\\Page"
],
[
"string",
"App\\Entity\\Page"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"6ec67f132121afefb58b6712c74d2602"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
],
"0000000003730e11000000001c7d758b": [
"integer",
1
],
"0000000003730ea7000000001c7d758b": [
"integer",
1
],
"0000000003730ebb000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"root"
]
}
]
]
},
{
"namespace": "ApiPlatform\\Core\\Serializer",
"short_class": "AbstractItemNormalizer",
"class": "ApiPlatform\\Core\\Serializer\\AbstractItemNormalizer",
"type": "->",
"function": "getAttributeValue",
"file": "/var/www/local.project.lan/public_html/vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php",
"line": 132,
"args": [
[
"object",
"App\\Entity\\Page"
],
[
"string",
"root"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"bb55c7b1a00e9ad75b7fb47c394d28e9"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
],
"0000000003730e11000000001c7d758b": [
"integer",
1
],
"0000000003730ea7000000001c7d758b": [
"integer",
1
],
"0000000003730ebb000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"root"
]
}
]
]
},
{
"namespace": "Symfony\\Component\\Serializer\\Normalizer",
"short_class": "AbstractObjectNormalizer",
"class": "Symfony\\Component\\Serializer\\Normalizer\\AbstractObjectNormalizer",
"type": "->",
"function": "normalize",
"file": "/var/www/local.project.lan/public_html/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php",
"line": 153,
"args": [
[
"object",
"App\\Entity\\Page"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"bb55c7b1a00e9ad75b7fb47c394d28e9"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
],
"0000000003730e11000000001c7d758b": [
"integer",
1
],
"0000000003730ea7000000001c7d758b": [
"integer",
1
],
"0000000003730ebb000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"children"
]
}
]
]
},
{
"namespace": "ApiPlatform\\Core\\Serializer",
"short_class": "AbstractItemNormalizer",
"class": "ApiPlatform\\Core\\Serializer\\AbstractItemNormalizer",
"type": "->",
"function": "normalize",
"file": "/var/www/local.project.lan/public_html/vendor/symfony/serializer/Serializer.php",
"line": 152,
"args": [
[
"object",
"App\\Entity\\Page"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"bb55c7b1a00e9ad75b7fb47c394d28e9"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
],
"0000000003730e11000000001c7d758b": [
"integer",
1
],
"0000000003730ea7000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"children"
]
}
]
]
},
{
"namespace": "Symfony\\Component\\Serializer",
"short_class": "Serializer",
"class": "Symfony\\Component\\Serializer\\Serializer",
"type": "->",
"function": "normalize",
"file": "/var/www/local.project.lan/public_html/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php",
"line": 606,
"args": [
[
"object",
"App\\Entity\\Page"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"bb55c7b1a00e9ad75b7fb47c394d28e9"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
],
"0000000003730e11000000001c7d758b": [
"integer",
1
],
"0000000003730ea7000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"children"
]
}
]
]
},
{
"namespace": "ApiPlatform\\Core\\Serializer",
"short_class": "AbstractItemNormalizer",
"class": "ApiPlatform\\Core\\Serializer\\AbstractItemNormalizer",
"type": "->",
"function": "normalizeRelation",
"file": "/var/www/local.project.lan/public_html/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php",
"line": 580,
"args": [
[
"object",
"ApiPlatform\\Core\\Metadata\\Property\\PropertyMetadata"
],
[
"object",
"App\\Entity\\Page"
],
[
"string",
"App\\Entity\\Page"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"bb55c7b1a00e9ad75b7fb47c394d28e9"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
],
"0000000003730e11000000001c7d758b": [
"integer",
1
],
"0000000003730ea7000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"children"
]
}
]
]
},
{
"namespace": "ApiPlatform\\Core\\Serializer",
"short_class": "AbstractItemNormalizer",
"class": "ApiPlatform\\Core\\Serializer\\AbstractItemNormalizer",
"type": "->",
"function": "normalizeCollectionOfRelations",
"file": "/var/www/local.project.lan/public_html/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php",
"line": 551,
"args": [
[
"object",
"ApiPlatform\\Core\\Metadata\\Property\\PropertyMetadata"
],
[
"object",
"Doctrine\\ORM\\PersistentCollection"
],
[
"string",
"App\\Entity\\Page"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"bb55c7b1a00e9ad75b7fb47c394d28e9"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
],
"0000000003730e11000000001c7d758b": [
"integer",
1
],
"0000000003730ea7000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"children"
]
}
]
]
},
{
"namespace": "ApiPlatform\\Core\\Serializer",
"short_class": "AbstractItemNormalizer",
"class": "ApiPlatform\\Core\\Serializer\\AbstractItemNormalizer",
"type": "->",
"function": "getAttributeValue",
"file": "/var/www/local.project.lan/public_html/vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php",
"line": 132,
"args": [
[
"object",
"App\\Entity\\Page"
],
[
"string",
"children"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"bb55c7b1a00e9ad75b7fb47c394d28e9"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
],
"0000000003730e11000000001c7d758b": [
"integer",
1
],
"0000000003730ea7000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"children"
]
}
]
]
},
{
"namespace": "Symfony\\Component\\Serializer\\Normalizer",
"short_class": "AbstractObjectNormalizer",
"class": "Symfony\\Component\\Serializer\\Normalizer\\AbstractObjectNormalizer",
"type": "->",
"function": "normalize",
"file": "/var/www/local.project.lan/public_html/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php",
"line": 153,
"args": [
[
"object",
"App\\Entity\\Page"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"bb55c7b1a00e9ad75b7fb47c394d28e9"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
],
"0000000003730e11000000001c7d758b": [
"integer",
1
],
"0000000003730ea7000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"children"
]
}
]
]
},
{
"namespace": "ApiPlatform\\Core\\Serializer",
"short_class": "AbstractItemNormalizer",
"class": "ApiPlatform\\Core\\Serializer\\AbstractItemNormalizer",
"type": "->",
"function": "normalize",
"file": "/var/www/local.project.lan/public_html/vendor/symfony/serializer/Serializer.php",
"line": 152,
"args": [
[
"object",
"App\\Entity\\Page"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"bb55c7b1a00e9ad75b7fb47c394d28e9"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
],
"0000000003730e11000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"children"
]
}
]
]
},
{
"namespace": "Symfony\\Component\\Serializer",
"short_class": "Serializer",
"class": "Symfony\\Component\\Serializer\\Serializer",
"type": "->",
"function": "normalize",
"file": "/var/www/local.project.lan/public_html/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php",
"line": 606,
"args": [
[
"object",
"App\\Entity\\Page"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"bb55c7b1a00e9ad75b7fb47c394d28e9"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
],
"0000000003730e11000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"children"
]
}
]
]
},
{
"namespace": "ApiPlatform\\Core\\Serializer",
"short_class": "AbstractItemNormalizer",
"class": "ApiPlatform\\Core\\Serializer\\AbstractItemNormalizer",
"type": "->",
"function": "normalizeRelation",
"file": "/var/www/local.project.lan/public_html/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php",
"line": 580,
"args": [
[
"object",
"ApiPlatform\\Core\\Metadata\\Property\\PropertyMetadata"
],
[
"object",
"App\\Entity\\Page"
],
[
"string",
"App\\Entity\\Page"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"bb55c7b1a00e9ad75b7fb47c394d28e9"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
],
"0000000003730e11000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"children"
]
}
]
]
},
{
"namespace": "ApiPlatform\\Core\\Serializer",
"short_class": "AbstractItemNormalizer",
"class": "ApiPlatform\\Core\\Serializer\\AbstractItemNormalizer",
"type": "->",
"function": "normalizeCollectionOfRelations",
"file": "/var/www/local.project.lan/public_html/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php",
"line": 551,
"args": [
[
"object",
"ApiPlatform\\Core\\Metadata\\Property\\PropertyMetadata"
],
[
"object",
"Doctrine\\ORM\\PersistentCollection"
],
[
"string",
"App\\Entity\\Page"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"bb55c7b1a00e9ad75b7fb47c394d28e9"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
],
"0000000003730e11000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"children"
]
}
]
]
},
{
"namespace": "ApiPlatform\\Core\\Serializer",
"short_class": "AbstractItemNormalizer",
"class": "ApiPlatform\\Core\\Serializer\\AbstractItemNormalizer",
"type": "->",
"function": "getAttributeValue",
"file": "/var/www/local.project.lan/public_html/vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php",
"line": 132,
"args": [
[
"object",
"App\\Entity\\Page"
],
[
"string",
"children"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"bb55c7b1a00e9ad75b7fb47c394d28e9"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
],
"0000000003730e11000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"children"
]
}
]
]
},
{
"namespace": "Symfony\\Component\\Serializer\\Normalizer",
"short_class": "AbstractObjectNormalizer",
"class": "Symfony\\Component\\Serializer\\Normalizer\\AbstractObjectNormalizer",
"type": "->",
"function": "normalize",
"file": "/var/www/local.project.lan/public_html/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php",
"line": 153,
"args": [
[
"object",
"App\\Entity\\Page"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"bb55c7b1a00e9ad75b7fb47c394d28e9"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
],
"0000000003730e11000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"children"
]
}
]
]
},
{
"namespace": "ApiPlatform\\Core\\Serializer",
"short_class": "AbstractItemNormalizer",
"class": "ApiPlatform\\Core\\Serializer\\AbstractItemNormalizer",
"type": "->",
"function": "normalize",
"file": "/var/www/local.project.lan/public_html/vendor/symfony/serializer/Serializer.php",
"line": 152,
"args": [
[
"object",
"App\\Entity\\Page"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"bb55c7b1a00e9ad75b7fb47c394d28e9"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"children"
]
}
]
]
},
{
"namespace": "Symfony\\Component\\Serializer",
"short_class": "Serializer",
"class": "Symfony\\Component\\Serializer\\Serializer",
"type": "->",
"function": "normalize",
"file": "/var/www/local.project.lan/public_html/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php",
"line": 606,
"args": [
[
"object",
"App\\Entity\\Page"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"bb55c7b1a00e9ad75b7fb47c394d28e9"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"children"
]
}
]
]
},
{
"namespace": "ApiPlatform\\Core\\Serializer",
"short_class": "AbstractItemNormalizer",
"class": "ApiPlatform\\Core\\Serializer\\AbstractItemNormalizer",
"type": "->",
"function": "normalizeRelation",
"file": "/var/www/local.project.lan/public_html/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php",
"line": 580,
"args": [
[
"object",
"ApiPlatform\\Core\\Metadata\\Property\\PropertyMetadata"
],
[
"object",
"App\\Entity\\Page"
],
[
"string",
"App\\Entity\\Page"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"bb55c7b1a00e9ad75b7fb47c394d28e9"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"children"
]
}
]
]
},
{
"namespace": "ApiPlatform\\Core\\Serializer",
"short_class": "AbstractItemNormalizer",
"class": "ApiPlatform\\Core\\Serializer\\AbstractItemNormalizer",
"type": "->",
"function": "normalizeCollectionOfRelations",
"file": "/var/www/local.project.lan/public_html/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php",
"line": 551,
"args": [
[
"object",
"ApiPlatform\\Core\\Metadata\\Property\\PropertyMetadata"
],
[
"object",
"Doctrine\\ORM\\PersistentCollection"
],
[
"string",
"App\\Entity\\Page"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"bb55c7b1a00e9ad75b7fb47c394d28e9"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"children"
]
}
]
]
},
{
"namespace": "ApiPlatform\\Core\\Serializer",
"short_class": "AbstractItemNormalizer",
"class": "ApiPlatform\\Core\\Serializer\\AbstractItemNormalizer",
"type": "->",
"function": "getAttributeValue",
"file": "/var/www/local.project.lan/public_html/vendor/symfony/serializer/Normalizer/AbstractObjectNormalizer.php",
"line": 132,
"args": [
[
"object",
"App\\Entity\\Page"
],
[
"string",
"children"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"ed89470e7dbee03fff1299ef826b5a11"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
]
}
],
"api_attribute": [
"string",
"children"
]
}
]
]
},
{
"namespace": "Symfony\\Component\\Serializer\\Normalizer",
"short_class": "AbstractObjectNormalizer",
"class": "Symfony\\Component\\Serializer\\Normalizer\\AbstractObjectNormalizer",
"type": "->",
"function": "normalize",
"file": "/var/www/local.project.lan/public_html/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php",
"line": 153,
"args": [
[
"object",
"App\\Entity\\Page"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
],
"cache_key": [
"string",
"ed89470e7dbee03fff1299ef826b5a11"
],
"circular_reference_limit_counters": [
"array",
{
"000000000373cadc000000001c7d758b": [
"integer",
1
]
}
]
}
]
]
},
{
"namespace": "ApiPlatform\\Core\\Serializer",
"short_class": "AbstractItemNormalizer",
"class": "ApiPlatform\\Core\\Serializer\\AbstractItemNormalizer",
"type": "->",
"function": "normalize",
"file": "/var/www/local.project.lan/public_html/vendor/symfony/serializer/Serializer.php",
"line": 152,
"args": [
[
"object",
"App\\Entity\\Page"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
],
"api_sub_level": [
"boolean",
true
],
"resource_class": [
"string",
"App\\Entity\\Page"
],
"iri": [
"string",
"/api/pages/3313"
],
"api_normalize": [
"boolean",
true
]
}
]
]
},
{
"namespace": "Symfony\\Component\\Serializer",
"short_class": "Serializer",
"class": "Symfony\\Component\\Serializer\\Serializer",
"type": "->",
"function": "normalize",
"file": "/var/www/local.project.lan/public_html/vendor/symfony/serializer/Serializer.php",
"line": 162,
"args": [
[
"object",
"App\\Entity\\Page"
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
]
}
]
]
},
{
"namespace": "Symfony\\Component\\Serializer",
"short_class": "Serializer",
"class": "Symfony\\Component\\Serializer\\Serializer",
"type": "->",
"function": "normalize",
"file": "/var/www/local.project.lan/public_html/src/Controller/APIOperation/OrganizationOperation.php",
"line": 47,
"args": [
[
"array",
[
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
],
[
"object",
"App\\Entity\\Page"
]
]
],
[
"null",
null
],
[
"array",
{
"groups": [
"string",
"page_tree"
]
}
]
]
},
{
"namespace": "App\\Controller\\APIOperation",
"short_class": "OrganizationOperation",
"class": "App\\Controller\\APIOperation\\OrganizationOperation",
"type": "->",
"function": "getOrganizationPublicationTree",
"file": "/var/www/local.project.lan/public_html/vendor/symfony/http-kernel/HttpKernel.php",
"line": 150,
"args": [
[
"object",
"App\\Entity\\Organization"
],
[
"object",
"Symfony\\Component\\Serializer\\Normalizer\\ObjectNormalizer"
],
[
"object",
"Symfony\\Component\\Serializer\\Serializer"
]
]
},
{
"namespace": "Symfony\\Component\\HttpKernel",
"short_class": "HttpKernel",
"class": "Symfony\\Component\\HttpKernel\\HttpKernel",
"type": "->",
"function": "handleRaw",
"file": "/var/www/local.project.lan/public_html/vendor/symfony/http-kernel/HttpKernel.php",
"line": 67,
"args": [
[
"object",
"Symfony\\Component\\HttpFoundation\\Request"
],
[
"integer",
1
]
]
},
{
"namespace": "Symfony\\Component\\HttpKernel",
"short_class": "HttpKernel",
"class": "Symfony\\Component\\HttpKernel\\HttpKernel",
"type": "->",
"function": "handle",
"file": "/var/www/local.project.lan/public_html/vendor/symfony/http-kernel/Kernel.php",
"line": 198,
"args": [
[
"object",
"Symfony\\Component\\HttpFoundation\\Request"
],
[
"integer",
1
],
[
"boolean",
true
]
]
},
{
"namespace": "Symfony\\Component\\HttpKernel",
"short_class": "Kernel",
"class": "Symfony\\Component\\HttpKernel\\Kernel",
"type": "->",
"function": "handle",
"file": "/var/www/local.project.lan/public_html/public/index.php",
"line": 42,
"args": [
[
"object",
"Symfony\\Component\\HttpFoundation\\Request"
]
]
}
]
}
Metadata
Metadata
Assignees
Labels
No labels