mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-31 15:24:31 +03:00
Refactored Social auth into service, Made entity an abstract class
This commit is contained in:
@ -4,7 +4,7 @@ namespace Oxbow;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Entity extends Model
|
||||
abstract class Entity extends Model
|
||||
{
|
||||
/**
|
||||
* Relation for the user that created this entity.
|
||||
@ -86,4 +86,10 @@ class Entity extends Model
|
||||
return $search->get();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the url for this item.
|
||||
* @return string
|
||||
*/
|
||||
abstract public function getUrl();
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user