32 lines
500 B
PHP
32 lines
500 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
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;
|
|
}
|
|
|
|
public function getSharedData(): array
|
|
{
|
|
return $this->sharedData;
|
|
}
|
|
}
|