26 lines
430 B
PHP
26 lines
430 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace KupShop\ComponentsBundle\View;
|
|
|
|
trait ComponentsViewTrait
|
|
{
|
|
public function getTemplates(): iterable
|
|
{
|
|
yield $this->getTemplate();
|
|
}
|
|
|
|
public function getEntrypoint(): string
|
|
{
|
|
return $this->entrypoint ?? '';
|
|
}
|
|
|
|
protected function findTemplates(string $path)
|
|
{
|
|
$paths = $this->twig->getLoader();
|
|
|
|
// TODO: Implement
|
|
}
|
|
}
|