summaryrefslogtreecommitdiff
path: root/tests/Unit/Renderer/Stub/EngineImplementation.php
blob: fc4365697b62559189fb3a8c3614ff3568985e8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php

namespace Engelsystem\Test\Unit\Renderer\Stub;

use Engelsystem\Renderer\Engine;

class EngineImplementation extends Engine
{
    /**
     * @inheritdoc
     */
    public function get(string $path, array $data = []): string
    {
        return '';
    }

    /**
     * @inheritdoc
     */
    public function canRender(string $path): bool
    {
        return true;
    }

    /**
     * @return array
     */
    public function getSharedData(): array
    {
        return $this->sharedData;
    }
}