class MongoDbProfilerStorageTestDataCollector

Hierarchy

Expanded class hierarchy of MongoDbProfilerStorageTestDataCollector

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Profiler/MongoDbProfilerStorageTest.php, line 28

Namespace

Symfony\Component\HttpKernel\Tests\Profiler
View source
class MongoDbProfilerStorageTestDataCollector extends DataCollector {
  public function setData($data) {
    $this->data = $data;
  }
  public function getData() {
    return $this->data;
  }
  public function collect(Request $request, Response $response, \Exception $exception = null) {
  }
  public function getName() {
    return 'test_data_collector';
  }

}

Members

Namesort descending Modifiers Type Description Overrides
DataCollector::$data protected property
DataCollector::serialize public function
DataCollector::unserialize public function
DataCollector::varToString protected function Converts a PHP variable to a string.
MongoDbProfilerStorageTestDataCollector::collect public function Collects data for the given Request and Response. Overrides DataCollectorInterface::collect
MongoDbProfilerStorageTestDataCollector::getData public function
MongoDbProfilerStorageTestDataCollector::getName public function Returns the name of the collector. Overrides DataCollectorInterface::getName
MongoDbProfilerStorageTestDataCollector::setData public function