src/TemplatesCollection.php
public function registerTemplate($template)
    {
        $template = $this->normalizeTemplateDuringRegistration($template);

        $this->templates[$template['name']] = $template;

        $this->registerTemplateAliases($template, $template['aliases']);
    }
public function registerTemplate($template)
    {
        $template = $this->normalizeTemplateDuringRegistration($template);

        $this->templates[$template['name']] = $template;

        $this->registerTemplateAliases($template, $template['aliases']);
    }
public function registerTemplate ( $ template ) { $ template = $ this -> normalizeTemplateDuringRegistration ( $ template ) ; $ this -> templates [ $ template [ 'name' ] ] = $ template ; $ this -> registerTemplateAliases ( $ template , $ template [ 'aliases' ] ) ; }
Dynamically register migration template.

@param array $template

@return void
Dynamically register migration template .