1 | <?php |
||
24 | class StringAnalyser extends Analyser |
||
25 | { |
||
26 | /** |
||
27 | * The string to analyse |
||
28 | * |
||
29 | * @var string |
||
30 | */ |
||
31 | private $string; |
||
32 | |||
33 | /** |
||
34 | * StringAnalyser constructor |
||
35 | * |
||
36 | * @param string $string The code to analyse |
||
37 | * @param bool $registerNameResolver Inherited from the base class `Analyser` |
||
38 | * @see Analyser::__construct() Base Constructor |
||
39 | */ |
||
40 | 38 | public function __construct($string, $registerNameResolver = true) |
|
45 | |||
46 | /** |
||
47 | * @inheritdoc |
||
48 | */ |
||
49 | 2 | protected function parse() |
|
53 | |||
54 | /** |
||
55 | * @inheritdoc |
||
56 | */ |
||
57 | 26 | protected function createAnalysisTargetId() |
|
61 | } |
||
62 |