1 | <?php |
||
22 | class FileExistsHelper implements HelperInterface |
||
23 | { |
||
24 | /** @var string */ |
||
25 | private $applicationRoot; |
||
26 | |||
27 | /** |
||
28 | * Should return the name of the helper. |
||
29 | * |
||
30 | * @return string |
||
31 | * @codeCoverageIgnore - plain text |
||
32 | */ |
||
33 | public static function getName() : string |
||
37 | |||
38 | /** |
||
39 | * Should return the name of the helper. |
||
40 | * |
||
41 | * @return string |
||
42 | * @codeCoverageIgnore - plain text |
||
43 | */ |
||
44 | public static function getDefinition() : string |
||
48 | |||
49 | /** |
||
50 | * Should return a description text. |
||
51 | * |
||
52 | * @return string |
||
53 | * @codeCoverageIgnore - plain text |
||
54 | */ |
||
55 | public static function getDescription() : string |
||
59 | |||
60 | /** |
||
61 | * Gets helper options for the render. |
||
62 | * |
||
63 | * @return array |
||
64 | * @codeCoverageIgnore - empty array |
||
65 | */ |
||
66 | public static function getOptions() : array |
||
70 | |||
71 | /** |
||
72 | * DefinedHelper constructor. |
||
73 | * |
||
74 | * @param EnvironmentInterface $environmentManager |
||
75 | */ |
||
76 | 1 | public function __construct(EnvironmentInterface $environmentManager) |
|
80 | |||
81 | /** |
||
82 | * A renderer helper should be called with its name. |
||
83 | * |
||
84 | * @return bool |
||
85 | */ |
||
86 | 1 | public function __invoke() : bool |
|
92 | } |
||
93 |