src/Core/Loader.php
protected function add( $hooks, $hook, $service, $method, $priority, $accepted_args ) {
		$hooks[] = array(
			'hook'     => $hook,
			'service'  => $service,
			'method'   => $method,
			'priority' => $priority,
			'args'     => $accepted_args,
		);

		return $hooks;
	}
protected function add( $hooks, $hook, $service, $method, $priority, $accepted_args ) {
		$hooks[] = array(
			'hook'     => $hook,
			'service'  => $service,
			'method'   => $method,
			'priority' => $priority,
			'args'     => $accepted_args,
		);

		return $hooks;
	}
protected function add ( $ hooks , $ hook , $ service , $ method , $ priority , $ accepted_args ) { $ hooks [ ] = array ( 'hook' => $ hook , 'service' => $ service , 'method' => $ method , 'priority' => $ priority , 'args' => $ accepted_args , ) ; return $ hooks ; }
Utility to register the actions and hooks into a single collection.

@param array  $hooks
@param string $hook
@param object $service
@param string $method
@param int    $priority
@param int    $accepted_args

@return array
Utility to register the actions and hooks into a single collection .