소스 검색

Update Status model

Daniel Supernault 6 년 전
부모
커밋
070dc14f31
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      app/Status.php

+ 6 - 0
app/Status.php

@@ -44,6 +44,12 @@ class Status extends Model
         'loop'
     ];
 
+    const MAX_MENTIONS = 5;
+
+    const MAX_HASHTAGS = 30;
+
+    const MAX_LINKS = 2;
+
     public function profile()
     {
         return $this->belongsTo(Profile::class);