44 public function __invoke(Request $request, Response $response, $args)
46 $this->view->render($response,
'index.twig', $this->
render());
57 'plugins' => parent::getPlugins(),
58 'languageFlag' => parent::getLanguageFlag(),
75 return \Paperyard\Models\Log\File::distinct()->get([
'fileContent'])->count();
82 $to_confirm = array_filter(
$documents,
function($document) {
83 return !$document[
'isConfirmed'];
86 return count($to_confirm);
registerPlugin($name, $type=PluginType::NORMAL)
__construct(Twig $view, LoggerInterface $logger, Messages $flash)
__invoke(Request $request, Response $response, $args)
static findAll(array $paths)