<?php

namespace Signteer\Rest;

use Plainwork\Core\App;
use Plainwork\Http\Router;

class Boot
{
    public function __construct(App $app)
    {
        $app->onBoot(Router::class, function ($r) {
            $r->any('api/sheets/{sheet}/tasks', Controller\ListTasksController::class);
        });
    }
}
