Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AttributeMetadataInterface.php

function AttributeMetadataInterface::setMaxDepth

Sets the serialization max depth for this attribute.

1 method overrides AttributeMetadataInterface::setMaxDepth()
AttributeMetadata::setMaxDepth in vendor/symfony/serializer/Mapping/AttributeMetadata.php
Sets the serialization max depth for this attribute.

File

vendor/symfony/serializer/Mapping/AttributeMetadataInterface.php, line 47

Class

AttributeMetadataInterface
Stores metadata needed for serializing and deserializing attributes.

Namespace

Symfony\Component\Serializer\Mapping

Code

public function setMaxDepth(?int $maxDepth) : void;
RSS feed
Powered by Drupal