public function hooks($page = 1, $per_page = Api::PER_PAGE)
{
$data = $this->api('projects')->hooks($this->id, $page, $per_page);
$hooks = array();
foreach ($data as $hook) {
$hooks[] = ProjectHook::fromArray($this->getClient(), $this, $hook);
}
return $hooks;
}