src/Models/Repository/CategoryRepository.php
public function options($empty = true)
    {
        if (true === $empty) {
            $empty = new Category();
            $empty->name = 'Please Select';
            return Category::all()->prepend($empty);
        }
        return Category::all();
    }
public function options($empty = true)
    {
        if (true === $empty) {
            $empty = new Category();
            $empty->name = 'Please Select';
            return Category::all()->prepend($empty);
        }
        return Category::all();
    }
public function options ( $ empty = true ) { if ( true === $ empty ) { $ empty = new Category ( ) ; $ empty -> name = 'Please Select' ; return Category :: all ( ) -> prepend ( $ empty ) ; } return Category :: all ( ) ; }
Get an Category Options for Vue Components

@return \Illuminate\Database\Eloquent\Collection
Get an Category Options for Vue Components