1 | <?php |
||
12 | class FederationMetadata implements RelyingPartyInterface |
||
13 | { |
||
14 | /** @var \AerialShip\SamlSPBundle\Config\ServiceInfoCollection */ |
||
15 | protected $serviceInfoCollection; |
||
16 | |||
17 | /** @var \Symfony\Component\Security\Http\HttpUtils */ |
||
18 | protected $httpUtils; |
||
19 | |||
20 | |||
21 | |||
22 | /** |
||
23 | * @param ServiceInfoCollection $serviceInfoCollection |
||
24 | * @param \Symfony\Component\Security\Http\HttpUtils $httpUtils |
||
25 | */ |
||
26 | public function __construct(ServiceInfoCollection $serviceInfoCollection, HttpUtils $httpUtils) |
||
31 | |||
32 | |||
33 | /** |
||
34 | * @param \Symfony\Component\HttpFoundation\Request $request |
||
35 | * @return bool |
||
36 | */ |
||
37 | function supports(Request $request) |
||
42 | |||
43 | |||
44 | /** |
||
45 | * @param \Symfony\Component\HttpFoundation\Request $request |
||
46 | * @throws \Symfony\Component\Process\Exception\RuntimeException |
||
47 | * @return \Symfony\Component\HttpFoundation\Response|SamlSpInfo |
||
48 | */ |
||
49 | function manage(Request $request) |
||
65 | } |
||
66 |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.