Logo
Explore Help
Register Sign In
starred/BookStack
1
0
Fork 0
You've already forked BookStack
mirror of https://github.com/BookStackApp/BookStack.git synced 2026-02-26 19:07:41 +03:00
Code Issues 784 Packages Projects Releases 14 Wiki Activity
Files
v21.08.6
BookStack/app/Interfaces/Viewable.php

14 lines
229 B
PHP
Raw Permalink Normal View History

Apply fixes from StyleCI
2021-06-26 15:23:15 +00:00
<?php
namespace BookStack\Interfaces;
Started refactoring of view service Phasing out the view service from being a generic 'service' class, moving the core create/delete methods into the model. The idea is that the existing query work will need to interlink with the favourite system so maybe we have a (or many composable) query building classes rather than mixing query building and create/delete work as per the old service.
2021-05-16 10:49:37 +01:00
use Illuminate\Database\Eloquent\Relations\MorphMany;
interface Viewable
{
/**
* Get all view instances for this viewable model.
*/
public function views(): MorphMany;
Apply fixes from StyleCI
2021-06-26 15:23:15 +00:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 18ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API