original_string: public function setMaxDepthHandler(?callable $handler): void
      {
          @trigger_error(sprintf('The "%s()" method is deprecated since Symfony 4.2, use the "max_depth_handler" key of the context instead.', __METHOD__), E_USER_DEPRECATED);
  
          $this->maxDepthHandler = $handler;
      }
code: public function setMaxDepthHandler(?callable $handler): void
      {
          @trigger_error(sprintf('The "%s()" method is deprecated since Symfony 4.2, use the "max_depth_handler" key of the context instead.', __METHOD__), E_USER_DEPRECATED);
  
          $this->maxDepthHandler = $handler;
      }
code_tokens: public function setMaxDepthHandler ( ? callable $ handler ) : void { @ trigger_error ( sprintf ( 'The "%s()" method is deprecated since Symfony 4.2, use the "max_depth_handler" key of the context instead.' , __METHOD__ ) , E_USER_DEPRECATED ) ; $ this -> maxDepthHandler = $ handler ; }
docstring: Sets a handler function that will be called when the max depth is reached.
  
  @deprecated since Symfony 4.2
docstring_tokens: Sets a handler function that will be called when the max depth is reached .