The class Symfony\Component\EventDispatcher\Event has been deprecated with message: since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be
removed from the class and what other constant to use instead.
Loading history...
25
{
26
/**
27
* @var ResourceInterface
28
*/
29
private $resource;
30
31
/**
32
* @var string
33
*/
34
private $format;
35
36
/**
37
* @var array
38
*/
39
private $context;
40
41
/**
42
* Constructor.
43
*
44
* @param ResourceInterface $resource
45
* @param string $format
46
* @param array $context
47
*/
48
5
public function __construct(ResourceInterface $resource, string $format, array $context)
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.