make AbstractDataCollector extend DataCollector to reduce boilerplate
This commit is contained in:
parent
05a7020f4b
commit
c8ec05d424
@ -11,16 +11,13 @@
|
||||
|
||||
namespace Symfony\Bundle\FrameworkBundle\DataCollector;
|
||||
|
||||
use Symfony\Component\HttpKernel\DataCollector\DataCollector;
|
||||
|
||||
/**
|
||||
* @author Laurent VOULLEMIER <laurent.voullemier@gmail.com>
|
||||
*/
|
||||
abstract class AbstractDataCollector implements TemplateAwareDataCollectorInterface
|
||||
abstract class AbstractDataCollector extends DataCollector implements TemplateAwareDataCollectorInterface
|
||||
{
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected $data = [];
|
||||
|
||||
public function getName(): string
|
||||
{
|
||||
return static::class;
|
||||
|
Reference in New Issue
Block a user