public function findIdSelectStock($id) { $productSelect = Product::findAll($id); if (!$productSelect) { return false; } return $productSelect; }