The interface Symfony\Component\Securi...ecurityContextInterface has been deprecated with message: since version 2.6, to be removed in 3.0.
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...
12
{
13
/**
14
* @var TokenInterface
15
*/
16
protected $token;
17
18
/**
19
* @inheritdoc
20
*/
21
4
public function getToken()
22
{
23
4
return $this->token;
24
}
25
26
/**
27
* @inheritdoc
28
*/
29
2
public function setToken(TokenInterface $token = null)
30
{
31
2
$this->token = $token;
32
2
}
33
34
/**
35
* @inheritdoc
36
*/
37
6
public function isGranted($attributes, $object = null)
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.