31 public function __invoke(Request $request, Response $response, $args)
33 $this->view->render($response,
'archive/confirm.twig', $this->
render());
40 'plugins' => parent::getPlugins(),
59 $pdfs = glob($pattern, GLOB_NOSORT);
62 array_walk(
$pdfs,
function (&$pdf) {
63 $pdf = (new \Paperyard\Models\Document($pdf))->toArray();
66 return array_filter(
$pdfs,
function ($pdf) {
67 return !$pdf[
'isConfirmed'];
__invoke(Request $request, Response $response, $args)
registerPlugin($name, $type=PluginType::NORMAL)
__construct(Twig $view, LoggerInterface $logger, Messages $flash)
getDocumentsFromPattern($pattern)