GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

MethodNotFoundException::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 6
rs 9.4286
cc 1
eloc 4
nc 1
nop 3
1
<?php
2
3
/**
4
 *
5
 * Copyright 2014 Simon Mönch.
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace APL\Exception;
12
13
use APL\Command\CommandInterface;
14
use APL\UseCase\UseCaseInterface;
15
16
/**
17
 *
18
 * @author David Badura <[email protected]>
19
 */
20
class MethodNotFoundException extends Exception
21
{
22
    /**
23
     *
24
     * @var CommandInterface
25
     */
26
    protected $command;
27
28
    /**
29
     *
30
     * @var UseCaseInterface
31
     */
32
    protected $useCase;
33
34
    /**
35
     *
36
     * @var string
37
     */
38
    protected $method;
39
40
    /**
41
     *
42
     * @param CommandInterface $command
43
     * @param UseCaseInterface $useCase
44
     * @param string           $method
45
     */
46
    public function __construct(CommandInterface $command, UseCaseInterface $useCase, $method)
47
    {
48
        $this->command = $command;
49
        $this->useCase = $useCase;
50
        $this->method  = $method;
51
    }
52
53
    /**
54
     *
55
     * @return CommandInterface
56
     */
57
    public function getCommand()
58
    {
59
        return $this->command;
60
    }
61
62
    /**
63
     *
64
     * @return UseCaseInterface
65
     */
66
    public function getUseCase()
67
    {
68
        return $this->useCase;
69
    }
70
71
    /**
72
     *
73
     * @return string
74
     */
75
    public function getMethod()
76
    {
77
        return $this->method;
78
    }
79
}
80