1 | <?php |
||
8 | class SAMLHelper extends Object |
||
|
|||
9 | { |
||
10 | /** |
||
11 | * @var array |
||
12 | */ |
||
13 | public static $dependencies = [ |
||
14 | 'SAMLConfService' => '%$SAMLConfService', |
||
15 | ]; |
||
16 | |||
17 | /** |
||
18 | * @var SAMLConfService |
||
19 | */ |
||
20 | public $SAMLConfService; |
||
21 | |||
22 | /** |
||
23 | * @return OneLogin_Saml2_Auth |
||
24 | */ |
||
25 | public function getSAMLauth() |
||
30 | } |
||
31 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.