1 | <?php |
||
18 | final class LaminasView implements ResolverInterface |
||
19 | { |
||
20 | /** |
||
21 | * @var RendererInterface |
||
22 | */ |
||
23 | private $renderer; |
||
24 | |||
25 | /** |
||
26 | * @var array |
||
27 | */ |
||
28 | private $templates; |
||
29 | |||
30 | /** |
||
31 | * @var array |
||
32 | */ |
||
33 | private $subjects; |
||
34 | |||
35 | /** |
||
36 | * Initializes a new instance of this class. |
||
37 | * |
||
38 | * @param RendererInterface $renderer |
||
39 | * @param array $templates |
||
40 | * @param array $subjects |
||
41 | */ |
||
42 | public function __construct(RendererInterface $renderer, array $templates, array $subjects) |
||
48 | |||
49 | /** |
||
50 | * Resolves the subject for the given channel and type. |
||
51 | * |
||
52 | * @param Message $message The message to get the subject for. |
||
53 | * @return null|string Returns the resolved subject as a string. |
||
54 | */ |
||
55 | public function resolveSubject(Message $message): string |
||
81 | |||
82 | /** |
||
83 | * Resolves the template for the given channel and type. |
||
84 | * |
||
85 | * @param Message $message The message to get the template for. |
||
86 | * @param string $type The type of e-mail to resolve. |
||
87 | * @return null|string Returns the resolved template as a string or null when no template exists. |
||
88 | */ |
||
89 | public function resolveTemplate(Message $message, string $type): ?string |
||
108 | } |
||
109 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.