We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18d394f commit f1f91d9Copy full SHA for f1f91d9
1 file changed
src/Models/Presenters/PostPresenter.php
@@ -99,6 +99,18 @@ public static function getStatuses()
99
);
100
}
101
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
114
/* -----------------------------------------------------------------
115
| URL Accessors
116
| -----------------------------------------------------------------
0 commit comments