Test Failed
Pull Request — master (#88)
by Artem
04:05
created

IdentityProviderResolved::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
nc 1
nop 2
dl 0
loc 4
rs 10
c 1
b 0
f 0
1
<?php
2
3
namespace Slides\Saml2\Events;
4
5
use Slides\Saml2\Auth as SamlAuth;
6
use Slides\Saml2\Contracts\IdentityProvidable;
7
8
class IdentityProviderResolved
9
{
10
    /**
11
     * The authentication handler.
12
     *
13
     * @var SamlAuth
14
     */
15
    public SamlAuth $auth;
16
17
    /**
18
     * The identity provider.
19
     *
20
     * @var IdentityProvidable
21
     */
22
    public IdentityProvidable $idp;
23
24
    /**
25
     * LoggedIn constructor.
26
     *
27
     * @param SamlAuth $auth
28
     * @param IdentityProvidable $idp
29
     */
30
    public function __construct(SamlAuth $auth, IdentityProvidable $idp)
31
    {
32
        $this->auth = $auth;
33
        $this->idp = $idp;
34
    }
35
}
36