api/Controllers/OrdersController.php
/**
	 * Show all users orders
	 * @return mixed
	 * @throws \Prettus\Repository\Exceptions\RepositoryException
	 */
Show all users orders
@return mixed
@throws \Prettus\Repository\Exceptions\RepositoryException
Show all users orders @return mixed @throws \ Prettus \ Repository \ Exceptions \ RepositoryException
public function index()
	{
		$this->repository->pushCriteria(FilledQuantityCriteria::class);
		return $this->present($this->repository->getOrders(\Auth::user()));
	}
public function index ( ) { $ this -> repository -> pushCriteria ( FilledQuantityCriteria :: class ) ; return $ this -> present ( $ this -> repository -> getOrders ( \ Auth :: user ( ) ) ) ; }
Show all users orders
 @return mixed
 @throws \Prettus\Repository\Exceptions\RepositoryException
Show all users orders @return mixed @throws \ Prettus \ Repository \ Exceptions \ RepositoryException
/** @noinspection PhpUnhandledExceptionInspection */