protected function supportedHooks() {
    return array_map(function ($file) {
      return pathinfo($file, PATHINFO_FILENAME);
    }, array_diff(scandir($this->templatePath . '/d8/hook'), ['.', '..']));
  }
protected function supportedHooks() {
    return array_map(function ($file) {
      return pathinfo($file, PATHINFO_FILENAME);
    }, array_diff(scandir($this->templatePath . '/d8/hook'), ['.', '..']));
  }
protected function supportedHooks ( ) { return array_map ( function ( $ file ) { return pathinfo ( $ file , PATHINFO_FILENAME ) ; } , array_diff ( scandir ( $ this -> templatePath . '/d8/hook' ) , [ '.' , '..' ] ) ) ; }
Returns list of supported hooks.
Returns list of supported hooks .