]> BookStack Code Mirror - bookstack/commit
Focused base Entity class cleanup
authorDan Brown <redacted>
Sun, 22 Nov 2020 01:20:38 +0000 (01:20 +0000)
committerDan Brown <redacted>
Sun, 22 Nov 2020 01:20:38 +0000 (01:20 +0000)
commita042e22481181fd6d7ef608142e084b106f8274c
tree45c47ea96a05bdff69d7d1a51e4dce34ca8ff313
parentef1b98019a0c3f123b0add8428292807eac3fe05
Focused base Entity class cleanup

Removed some common functions from other entities.
Aligned implementation of getUrl()
Cleaned phpdocs and added typehinting.
Also extracted sibling search logic out of controller.
app/Entities/EntityProvider.php
app/Entities/Models/Book.php
app/Entities/Models/Bookshelf.php
app/Entities/Models/Chapter.php
app/Entities/Models/Entity.php
app/Entities/Models/Page.php
app/Entities/Tools/SearchIndex.php
app/Entities/Tools/SiblingFetcher.php [new file with mode: 0644]
app/Entities/Tools/TrashCan.php
app/Http/Controllers/SearchController.php