database/factories/ChannelFactory.php
/**
     * Define the model's default state.
     *
     * @return array
     */
Define the model's default state.
@return array
Define the model ' s default state . @return array
public function definition()
    {
        return [
            'slug' => $this->faker->slug,
            'name' => $this->faker->text(200),
        ];
    }
public function definition ( ) { return [ 'slug' => $ this -> faker -> slug , 'name' => $ this -> faker -> text ( 200 ) , ] ; }
Define the model's default state.
Define the model ' s default state .