first commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user