ynh_extension_meeo/actions/ControleAction.php

20 lines
368 B
PHP
Raw Permalink Normal View History

2024-07-20 08:13:50 +00:00
<?php
namespace YesWiki\Meeo;
use YesWiki\Core\YesWikiAction;
use YesWiki\Meeo\Service\NoteManager;
class ControleAction extends YesWikiAction
{
public function formatArguments($arg)
{
return [];
}
public function run()
{
$noteManager = $this->getService(NoteManager::class);
return $noteManager->viewControle();
}
}