CreateResponseAction::doExecute()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 1
1
<?php
2
3
/*
4
 * This file is part of the LightSAML-IDP package.
5
 *
6
 * (c) Milos Tomic <[email protected]>
7
 *
8
 * This source file is subject to the GPL-3 license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace LightSaml\Idp\Action\Profile\Outbound\Response;
13
14
use LightSaml\Action\Profile\AbstractProfileAction;
15
use LightSaml\Context\Profile\ProfileContext;
16
use LightSaml\Model\Protocol\Response;
17
18
class CreateResponseAction extends AbstractProfileAction
19
{
20 1
    protected function doExecute(ProfileContext $context)
21
    {
22 1
        $context->getOutboundContext()->setMessage(new Response());
23 1
    }
24
}
25