1 | <?php |
||
5 | class ServiceInfo |
||
6 | { |
||
7 | |||
8 | /** @var string */ |
||
9 | protected $providerID; |
||
10 | |||
11 | /** @var string */ |
||
12 | protected $authenticationService; |
||
13 | |||
14 | /** @var EntityDescriptorProviderInterface */ |
||
15 | protected $spProvider; |
||
16 | |||
17 | /** @var EntityDescriptorProviderInterface */ |
||
18 | protected $idpProvider; |
||
19 | |||
20 | /** @var SpMetaProviderInterface */ |
||
21 | protected $spMetaProvider; |
||
22 | |||
23 | /** @var SPSigningProviderInterface */ |
||
24 | protected $spSigningProvider; |
||
25 | |||
26 | |||
27 | /** |
||
28 | * @param string $providerID |
||
29 | * @param string $name |
||
30 | * @param EntityDescriptorProviderInterface $spProvider |
||
31 | * @param EntityDescriptorProviderInterface $idpProvider |
||
32 | * @param SpMetaProviderInterface $spMetaProvider |
||
33 | * @param SPSigningProviderInterface $spSigningProvider |
||
34 | */ |
||
35 | 7 | function __construct( |
|
50 | |||
51 | |||
52 | /** |
||
53 | * @return string |
||
54 | */ |
||
55 | 1 | public function getProviderID() |
|
59 | |||
60 | /** |
||
61 | * @return string |
||
62 | */ |
||
63 | 1 | public function getAuthenticationService() |
|
67 | |||
68 | /** |
||
69 | * @return \AerialShip\SamlSPBundle\Config\SpEntityDescriptorBuilder |
||
70 | */ |
||
71 | 1 | public function getSpProvider() |
|
75 | |||
76 | /** |
||
77 | * @return \AerialShip\SamlSPBundle\Config\EntityDescriptorProviderInterface |
||
78 | */ |
||
79 | 1 | public function getIdpProvider() |
|
83 | |||
84 | /** |
||
85 | * @return \AerialShip\SamlSPBundle\Config\SpMetaProviderInterface |
||
86 | */ |
||
87 | 1 | public function getSpMetaProvider() |
|
91 | |||
92 | /** |
||
93 | * @return \AerialShip\SamlSPBundle\Config\SPSigningProviderInterface |
||
94 | */ |
||
95 | 1 | public function getSpSigningProvider() |
|
99 | } |
||
100 |
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.