$value} inside {@param->$key} * @param string $key * @param mixed $value * @return void */ public function set(string $key, mixed $value): void { $this->hooks[$key][] = $value; } /** * Delete the value's inside {@param->$key} * @param string $key * @return void */ public function unset(string $key): void { unset($this->hooks[$key]); } /** * Get the list of all the value's inside {@param->$key} * @param string $key * @return string */ public function get(string $key): string { foreach($this->hooks[$key] as $hook) { echo $hook; } } } ?>