src/mako/database/midgard/ORM.php
public function getHooks(string $event): array
	{
		return isset(static::$traitHooks[static::class][$event]) ? $this->bindHooks(static::$traitHooks[static::class][$event]) : [];
	}
public function getHooks(string $event): array
	{
		return isset(static::$traitHooks[static::class][$event]) ? $this->bindHooks(static::$traitHooks[static::class][$event]) : [];
	}
public function getHooks ( string $ event ) : array { return isset ( static :: $ traitHooks [ static :: class ] [ $ event ] ) ? $ this -> bindHooks ( static :: $ traitHooks [ static :: class ] [ $ event ] ) : [ ] ; }
Returns hooks for the chosen event.

@param  string $event Event name
@return array
Returns hooks for the chosen event .