original_string: public function getPossibleViewFilesFromTemplates($templates)
      {
          return call_user_func_array('array_merge', array_map(function ($template) {
              return array_map(function ($extension) use ($template) {
                  return str_replace('.', '/', $template).'.'.$extension;
              }, $this->extensions);
          }, $templates));
      }
code: public function getPossibleViewFilesFromTemplates($templates)
      {
          return call_user_func_array('array_merge', array_map(function ($template) {
              return array_map(function ($extension) use ($template) {
                  return str_replace('.', '/', $template).'.'.$extension;
              }, $this->extensions);
          }, $templates));
      }
code_tokens: public function getPossibleViewFilesFromTemplates ( $ templates ) { return call_user_func_array ( 'array_merge' , array_map ( function ( $ template ) { return array_map ( function ( $ extension ) use ( $ template ) { return str_replace ( '.' , '/' , $ template ) . '.' . $ extension ; } , $ this -> extensions ) ; } , $ templates ) ) ; }
docstring: Get an array of possible view files from an array of templates
  
  @param array $templates
  @return array
docstring_tokens: Get an array of possible view files from an array of templates