Zendesk\API\Resources\Core\Tickets::incidents PHP Method

incidents() public method

List incidents for a ticket
public incidents ( array $params = [] ) : stdClass
$params array
return stdClass | null
    public function incidents(array $params = [])
    {
        $params = $this->addChainedParametersToParams($params, ['id' => get_class($this)]);
        if (!$this->hasKeys($params, ['id'])) {
            throw new MissingParametersException(__METHOD__, ['id']);
        }
        return $this->sendGetRequest(__FUNCTION__, $params);
    }