app/Processors/Asset/AssetProcessor.php
public function store(AssetRequest $request)
    {
        $asset = $this->asset->newInstance();

        $asset->user_id = $this->guard->id();
        $asset->tag = $request->input('tag');
        $asset->category_id = $request->input('category');
        $asset->location_id = $request->input('location');
        $asset->name = $request->input('name');
        $asset->condition = $request->input('condition');
        $asset->vendor = $request->input('vendor');
        $asset->make = $request->input('make');
        $asset->model = $request->input('model');
        $asset->size = $request->input('size');
        $asset->weight = $request->input('weight');
        $asset->serial = $request->input('serial');
        $asset->acquired_at = $request->formatDateWithTime($request->input('acquired_at'));
        $asset->end_of_life = $request->formatDateWithTime($request->input('end_of_life'));

        return $asset->save();
    }
public function store(AssetRequest $request)
    {
        $asset = $this->asset->newInstance();

        $asset->user_id = $this->guard->id();
        $asset->tag = $request->input('tag');
        $asset->category_id = $request->input('category');
        $asset->location_id = $request->input('location');
        $asset->name = $request->input('name');
        $asset->condition = $request->input('condition');
        $asset->vendor = $request->input('vendor');
        $asset->make = $request->input('make');
        $asset->model = $request->input('model');
        $asset->size = $request->input('size');
        $asset->weight = $request->input('weight');
        $asset->serial = $request->input('serial');
        $asset->acquired_at = $request->formatDateWithTime($request->input('acquired_at'));
        $asset->end_of_life = $request->formatDateWithTime($request->input('end_of_life'));

        return $asset->save();
    }
Creates a new asset.

@param AssetRequest $request

@return bool