![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/job-board.corals.io/Corals/modules/Messaging/Contracts/ |
<?php namespace Corals\Modules\Messaging\Contracts; /** * Interface Participation * * * @property int id * @property int discussion_id * @property string participable_type * @property int participable_id * @property \Illuminate\Database\Eloquent\Model participable * @property \Carbon\Carbon last_read * @property \Carbon\Carbon created_at * @property \Carbon\Carbon updated_at * @property \Carbon\Carbon deleted_at */ interface Participation { /* ----------------------------------------------------------------- | Relationships | ----------------------------------------------------------------- */ /** * Discussion relationship. * * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function discussion(); /** * Participable relationship. * * @return \Illuminate\Database\Eloquent\Relations\MorphTo */ public function participable(); /* ----------------------------------------------------------------- | Getters & Setters | ----------------------------------------------------------------- */ /** * Get the participant string info. * * @return string */ public function stringInfo(); /* ----------------------------------------------------------------- | Main Methods | ----------------------------------------------------------------- */ /** * Restore a soft-deleted model instance. * * @return bool|null */ public function restore(); }