Zendesk\API\Resources\Core\Views::execute PHP Method

execute() public method

Execute a specific view
public execute ( array $params = [] ) : stdClass
$params array
return stdClass | null
    public function execute(array $params = [])
    {
        $id = $this->getIdFromParams($params);
        if (is_null($id)) {
            throw new MissingParametersException(__METHOD__, ['id']);
        }
        return $this->client->get($this->getRoute(__FUNCTION__, ['id' => $id]), $params);
    }