Skip to content

Commit f1f91d9

Browse files
Minor fix
1 parent 18d394f commit f1f91d9

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

src/Models/Presenters/PostPresenter.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,18 @@ public static function getStatuses()
9999
);
100100
}
101101

102+
/* -----------------------------------------------------------------
103+
| Other Methods
104+
| -----------------------------------------------------------------
105+
*/
106+
107+
/**
108+
* Check if the post's status is "draft".
109+
*
110+
* @return bool
111+
*/
112+
abstract public function isDraft();
113+
102114
/* -----------------------------------------------------------------
103115
| URL Accessors
104116
| -----------------------------------------------------------------

0 commit comments

Comments
 (0)