src/TemplatesCollection.php
protected function registerTemplateAliases($template, array $aliases = [])
    {
        foreach ($aliases as $alias) {
            $template['is_alias'] = true;
            $template['name'] = $alias;
            $template['aliases'] = [];

            $this->templates[$template['name']] = $template;
        }
    }
protected function registerTemplateAliases($template, array $aliases = [])
    {
        foreach ($aliases as $alias) {
            $template['is_alias'] = true;
            $template['name'] = $alias;
            $template['aliases'] = [];

            $this->templates[$template['name']] = $template;
        }
    }
protected function registerTemplateAliases ( $ template , array $ aliases = [ ] ) { foreach ( $ aliases as $ alias ) { $ template [ 'is_alias' ] = true ; $ template [ 'name' ] = $ alias ; $ template [ 'aliases' ] = [ ] ; $ this -> templates [ $ template [ 'name' ] ] = $ template ; } }
Register template aliases.

@param array $template
@param array $aliases

@return void
Register template aliases .