This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Components/HttpKernel/Profiler/DataCollector/DataCollector.php

41 lines
825 B
PHP
Raw Normal View History

<?php
2010-06-16 13:19:46 +01:00
namespace Symfony\Components\HttpKernel\Profiler\DataCollector;
2010-06-16 13:19:46 +01:00
use Symfony\Components\HttpKernel\Profiler\Profiler;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**
* DataCollector.
*
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
abstract class DataCollector implements DataCollectorInterface
{
protected $profiler;
protected $data;
public function getData()
{
return $this->data;
}
public function setData($data)
{
$this->data = $data;
}
public function setProfiler(Profiler $profiler)
{
$this->profiler = $profiler;
}
}