src/Traits/RestApiTrait.php
public function show($id, $params = [])
    {
        $data = ['id' => $id] + $params;

        return $this->query(__FUNCTION__, $data);
    }
public function show($id, $params = [])
    {
        $data = ['id' => $id] + $params;

        return $this->query(__FUNCTION__, $data);
    }
Delete a resource

@param string $id
@param array $data extra parameters
@return mixed