DigiComp.FluidRenderFunctions/Tests/Functional/Fixtures/Controller/TestController.php
Ferdinand Kuhl 0de901d45c
Some checks failed
ci/woodpecker/push/code-style Pipeline was successful
ci/woodpecker/push/functional-tests/1 Pipeline failed
ci/woodpecker/push/functional-tests/2 Pipeline failed
ci/woodpecker/push/functional-tests/3 Pipeline failed
ci/woodpecker/push/functional-tests/4 Pipeline failed
First working version
2024-06-01 23:15:35 +02:00

22 lines
565 B
PHP

<?php
declare(strict_types=1);
namespace DigiComp\FluidRenderFunctions\Tests\Functional\Fixtures\Controller;
use DigiComp\FlowDataTablesAdapter\Tests\Functional\Fixtures\TestEntity;
use Neos\Flow\Mvc\Controller\ActionController;
use Neos\Flow\Persistence\Doctrine\Query;
class TestController extends ActionController
{
public function indexAction()
{
$this->view->assign('test', ['name' => 'hallo']);
}
public function selectAction()
{
$this->view->assign('testEntities', (new Query(TestEntity::class))->execute());
}
}