Blame view

app/Models/Faq.php 451 Bytes
77ece5578   Fedor   task-132687 FAQ p...
1
2
3
4
5
  <?php
  
  namespace App\Models;
  
  use Illuminate\Database\Eloquent\Model;
088323a40   Fedor   task-132687 teleg...
6
  use Illuminate\Support\Facades\Blade;
77ece5578   Fedor   task-132687 FAQ p...
7
8
9
10
11
12
13
14
15
16
17
18
19
  
  /**
   * @property string $question
   * @property string $answer
   * @property string $target
   * @property boolean $active
   */
  class Faq extends Model
  {
      protected $guarded = [
          'created_at',
          'updated_at'
      ];
088323a40   Fedor   task-132687 teleg...
20
21
22
23
24
25
  
      protected static function boot()
      {
          parent::boot();
          Blade::withoutDoubleEncoding();
      }
77ece5578   Fedor   task-132687 FAQ p...
26
  }