app/Http/Controllers/ListController.php
public function noteList(Tree $tree): ResponseInterface
    {
        $notes = $this->allNotes($tree);

        return $this->viewResponse('note-list-page', [
            'notes' => $notes,
            'title' => I18N::translate('Shared notes'),
        ]);
    }
public function noteList(Tree $tree): ResponseInterface
    {
        $notes = $this->allNotes($tree);

        return $this->viewResponse('note-list-page', [
            'notes' => $notes,
            'title' => I18N::translate('Shared notes'),
        ]);
    }
public function noteList ( Tree $ tree ) : ResponseInterface { $ notes = $ this -> allNotes ( $ tree ) ; return $ this -> viewResponse ( 'note-list-page' , [ 'notes' => $ notes , 'title' => I18N :: translate ( 'Shared notes' ) , ] ) ; }
Show a list of all note records.

@param Tree $tree

@return ResponseInterface
Show a list of all note records .