src/TemplatesCollection.php
public function registerAutoTemplates()
    {
        $templates = [
            'add_iblock',
            'update_iblock',
            'delete_iblock',
            'add_iblock_element_property',
            'update_iblock_element_property',
            'delete_iblock_element_property',
            'add_uf',
            'update_uf',
            'delete_uf',
            'add_hlblock',
            'update_hlblock',
            'delete_hlblock',
            'add_group',
            'update_group',
            'delete_group',
        ];

        foreach ($templates as $template) {
            $this->registerTemplate([
                'name' => 'auto_'.$template,
                'path' => $this->dir.'/auto/'.$template.'.template',
            ]);
        }
    }
public function registerAutoTemplates()
    {
        $templates = [
            'add_iblock',
            'update_iblock',
            'delete_iblock',
            'add_iblock_element_property',
            'update_iblock_element_property',
            'delete_iblock_element_property',
            'add_uf',
            'update_uf',
            'delete_uf',
            'add_hlblock',
            'update_hlblock',
            'delete_hlblock',
            'add_group',
            'update_group',
            'delete_group',
        ];

        foreach ($templates as $template) {
            $this->registerTemplate([
                'name' => 'auto_'.$template,
                'path' => $this->dir.'/auto/'.$template.'.template',
            ]);
        }
    }
public function registerAutoTemplates ( ) { $ templates = [ 'add_iblock' , 'update_iblock' , 'delete_iblock' , 'add_iblock_element_property' , 'update_iblock_element_property' , 'delete_iblock_element_property' , 'add_uf' , 'update_uf' , 'delete_uf' , 'add_hlblock' , 'update_hlblock' , 'delete_hlblock' , 'add_group' , 'update_group' , 'delete_group' , ] ; foreach ( $ templates as $ template ) { $ this -> registerTemplate ( [ 'name' => 'auto_' . $ template , 'path' => $ this -> dir . '/auto/' . $ template . '.template' , ] ) ; } }
Register templates for automigrations.
Register templates for automigrations .