%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/graphicd/public_html/vebto/app/
Upload File :
Create Path :
Current File : /home/graphicd/public_html/vebto/app/Folder.php

<?php

namespace App;

use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Factories\HasFactory;

class Folder extends FileEntry
{
    use HasFactory;

    protected $attributes = [
        'type' => 'folder'
    ];

    protected static function boot()
    {
        parent::boot();

        static::addGlobalScope('fsType', function (Builder $builder) {
            $builder->where('type', 'folder');
        });
    }
}

Zerion Mini Shell 1.0