1 | <?php |
||
20 | class PragmaResolver implements ResolverInterface |
||
21 | { |
||
22 | private const ALLOWED_PRAGMAS = [ |
||
23 | Parser::PRAGMA_ROOT, |
||
24 | Parser::PRAGMA_RUNTIME, |
||
25 | Parser::PRAGMA_LOOKAHEAD, |
||
26 | ]; |
||
27 | |||
28 | /** |
||
29 | * @var array |
||
30 | */ |
||
31 | private $configs = []; |
||
32 | |||
33 | /** |
||
34 | * @param Readable $readable |
||
35 | * @param TokenInterface $token |
||
36 | * @throws \Railt\Io\Exception\ExternalFileException |
||
37 | */ |
||
38 | public function resolve(Readable $readable, TokenInterface $token): void |
||
51 | } |
||
52 |