/** * @param int $id * @return \stdClass */ public function getById($id) { $filter = new \DataFilter($this->webhooks); return $filter->getWithKey('id', $id); }