private function addProductOne(Basket $basket)
    {
        $one = $this->products->one();

        $basket->add($one->sku, $one->name, $one->price, function ($product) use ($one) {
            $product->category($one->category);
        });

        return $basket;
    }
private function addProductOne(Basket $basket)
    {
        $one = $this->products->one();

        $basket->add($one->sku, $one->name, $one->price, function ($product) use ($one) {
            $product->category($one->category);
        });

        return $basket;
    }
private function addProductOne ( Basket $ basket ) { $ one = $ this -> products -> one ( ) ; $ basket -> add ( $ one -> sku , $ one -> name , $ one -> price , function ( $ product ) use ( $ one ) { $ product -> category ( $ one -> category ) ; } ) ; return $ basket ; }
Add Product One

@param Basket $basket
@return Basket
Add Product One