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.

IMagicScopes
last analyzed

Size/Duplication

Total Lines 50
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 50

6 Methods

Rating   Name   Duplication   Size   Complexity  
getSelfClass() 0 1 ?
getSelfClassConstant() 0 1 ?
getStaticClass() 0 1 ?
getStaticClassConstant() 0 1 ?
getParentClass() 0 1 ?
getParentClassConstant() 0 1 ?
1
<?php
2
3
namespace Pinq\Parsing;
4
5
/**
6
 * Interface for a set of resolved self::, static::, parent:: scopes of a function.
7
 *
8
 * @author Elliot Levin <[email protected]>
9
 */
10
interface IMagicScopes
11
{
12
    /**
13
     * Gets the fully qualified class of self:: scope.
14
     * Null if not applicable.
15
     *
16
     * @return string|null
17
     */
18
    public function getSelfClass();
19
20
    /**
21
     * Gets the value of self::class constant.
22
     * Null if not applicable.
23
     *
24
     * @return string|null
25
     */
26
    public function getSelfClassConstant();
27
28
    /**
29
     * Gets the fully qualified class of static:: scope.
30
     * Null if not applicable.
31
     *
32
     * @return string|null
33
     */
34
    public function getStaticClass();
35
36
    /**
37
     * Gets the value of static::class constant.
38
     * Null if not applicable.
39
     *
40
     * @return string|null
41
     */
42
    public function getStaticClassConstant();
43
44
    /**
45
     * Gets the fully qualified class of parent:: scope.
46
     * Null if not applicable.
47
     *
48
     * @return string|null
49
     */
50
    public function getParentClass();
51
52
    /**
53
     * Gets the value of parent::class constant.
54
     * Null if not applicable.
55
     *
56
     * @return string|null
57
     */
58
    public function getParentClassConstant();
59
}
60