StatementsSource::hasAlreadyRequiredFilePath()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
1
<?php
2
namespace Psalm;
3
4
interface StatementsSource extends FileSource
5
{
6
    /**
7
     * @return null|string
8
     */
9
    public function getNamespace();
10
11
    /**
12
     * @return array<string, string>
0 ignored issues
show
Documentation introduced by
The doc-type array<string, could not be parsed: Expected ">" at position 5, but found "end of type". (view supported doc-types)

This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.

Loading history...
13
     */
14
    public function getAliasedClassesFlipped();
15
16
    /**
17
     * @return array<string, string>
0 ignored issues
show
Documentation introduced by
The doc-type array<string, could not be parsed: Expected ">" at position 5, but found "end of type". (view supported doc-types)

This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.

Loading history...
18
     */
19
    public function getAliasedClassesFlippedReplaceable();
20
21
    /**
22
     * @return string|null
23
     */
24
    public function getFQCLN();
25
26
    /**
27
     * @return string|null
28
     */
29
    public function getClassName();
30
31
    /**
32
     * @return string|null
33
     */
34
    public function getParentFQCLN();
35
36
    /**
37
     * @return array<string, array<string, array{Type\Union}>>|null
0 ignored issues
show
Documentation introduced by
The doc-type array<string, could not be parsed: Expected ">" at position 5, but found "end of type". (view supported doc-types)

This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.

Loading history...
38
     */
39
    public function getTemplateTypeMap();
40
41
    /**
42
     * @param string $file_path
43
     * @param string $file_name
44
     *
45
     * @return void
46
     */
47
    public function setRootFilePath($file_path, $file_name);
48
49
    /**
50
     * @param string $file_path
51
     *
52
     * @return bool
53
     */
54
    public function hasParentFilePath($file_path);
55
56
    /**
57
     * @param string $file_path
58
     *
59
     * @return bool
60
     */
61
    public function hasAlreadyRequiredFilePath($file_path);
62
63
    /**
64
     * @return int
65
     */
66
    public function getRequireNesting();
67
68
    /**
69
     * @return bool
70
     */
71
    public function isStatic();
72
73
    /**
74
     * @return StatementsSource|null
75
     */
76
    public function getSource();
77
78
    public function getCodebase() : Codebase;
79
80
    /**
81
     * Get a list of suppressed issues
82
     *
83
     * @return array<string>
84
     */
85
    public function getSuppressedIssues();
86
87
    /**
88
     * @param array<int, string> $new_issues
89
     *
90
     * @return void
91
     */
92
    public function addSuppressedIssues(array $new_issues);
93
94
    /**
95
     * @param array<int, string> $new_issues
96
     *
97
     * @return void
98
     */
99
    public function removeSuppressedIssues(array $new_issues);
100
101
    public function getNodeTypeProvider() : NodeTypeProvider;
102
}
103