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

Breadcrumb

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

class AjaxDataCollector

@author Bart van den Burg <bart@burgov.nl>

@final

Hierarchy

  • class \Symfony\Component\HttpKernel\DataCollector\DataCollector implements \Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface
    • class \Symfony\Component\HttpKernel\DataCollector\AjaxDataCollector extends \Symfony\Component\HttpKernel\DataCollector\DataCollector

Expanded class hierarchy of AjaxDataCollector

File

vendor/symfony/http-kernel/DataCollector/AjaxDataCollector.php, line 22

Namespace

Symfony\Component\HttpKernel\DataCollector
View source
class AjaxDataCollector extends DataCollector {
    public function collect(Request $request, Response $response, ?\Throwable $exception = null) : void {
        // all collecting is done client side
    }
    public function reset() : void {
        // all collecting is done client side
    }
    public function getName() : string {
        return 'ajax';
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title Overrides
AjaxDataCollector::collect public function Collects data for the given Request and Response. Overrides DataCollectorInterface::collect
AjaxDataCollector::getName public function Returns the name of the collector. Overrides DataCollectorInterface::getName
AjaxDataCollector::reset public function Overrides DataCollector::reset
DataCollector::$cloner private property
DataCollector::$data protected property
DataCollector::cloneVar protected function Converts the variable into a serializable Data instance.
DataCollector::getCasters protected function 1
DataCollector::serialize final protected function @internal to prevent implementing \Serializable
DataCollector::unserialize final protected function @internal to prevent implementing \Serializable
DataCollector::__sleep public function 1
DataCollector::__wakeup public function 1

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal