@param string $slug
@param string $name

@return void
185743
public function load( $slug, $name = '' )
	{
		if( !empty(( $template = $this->get( $slug, $name )))) {
			DevelopmentFacade::storeTemplatePath( $template );
			load_template( $template, false );
		}
	}
1366674
protected function createRoutes(string $name): void
    {
        $webFile = base_path('modules/'.$name.'/Routes/service.php');
        if (! $this->files->exists($webFile)) {
            $this->files->put($webFile, $this->files->get(__DIR__.'/stubs/service-route.stub'));
        }
    }
751837
protected function writeMigration($name, $table, $create): void
    {
        $this->makeDirectory($this->getMigrationPath());

        parent::writeMigration($name, $table, $create);
    }
877824
public function configureHook(Config\Hook $config, string $name) : void
    {
        $answer = $this->io->ask('  <info>Enable \'' . $name . '\' hook?</info> <comment>[y,n]</comment> ', 'n');
        $enable = IOUtil::answerToBool($answer);

        $config->setEnabled($enable);

        if ($enable) {
            $addAction = $this->io->ask('  <info>Add a validation action?</info> <comment>[y,n]</comment> ', 'n');

            while (IOUtil::answerToBool($addAction)) {
                $config->addAction($this->getActionConfig());
                // add another action?
                $addAction = $this->io->ask(
                    '  <info>Add another validation action?</info> <comment>[y,n]</comment> ',
                    'n'
                );
            }
        }
    }
1294648
public function execDown(string $name): void{
        $this->down();
        DB::connection('default')->table('migrations')->where('name', $name)->delete();
    }
1214998
public function registerEvent(string $name, ?string $table = null, \Closure $action): void
    {
        $this->connection->getEventHandler()->registerEvent($name, $table, $action);
    }
878341
protected function writeMigration($name)
    {
        $path = $this->getMigrationPath();

        if($file = pathinfo($this->creator->create($name, $path, $this->migrations), PATHINFO_FILENAME)){

            $this->line("<info>Created Migration:</info> $file");
        } else{

            $this->error("<info>Nothing to migrate.</info>");
        }
    }
676592
public function delete($name)
	{
		$templates = $this->getTemplates();
		$templates->delete($name, $this->plugin->name);
	}
45688
protected function loadGroup(string $name): void
    {
        $file = $this->container->get('config_dir').'/'.$name.'.php';
        $data = \is_file($file) ? include($file) : [];
        $this->container['config_'.$name] = $data;
    }
817816
public function saveAs($name)
    {
        $this->section_data[$name] = ob_get_clean();
        $this->ob_level--;
        if ($this->ob_level) {
            echo $this->section_data[$name];
        }
    }
311407
private function load(string $type, string $slug, string $name = ''): string
    {
        $slug = \ltrim($slug, '/');
        $slug = \rtrim($slug, '.php');

        $this->doAction($type, $slug, $name);

        $slug = $this->rewriteSlug($type, $slug);
        $rel_dir = $this->utilities->fileSystem->relativeDir();

        $templates = [];

        if ($name) {
            $templates[] = "{$slug}-{$name}.php";

            if ($rel_dir) {
                $templates[] = "{$rel_dir}/{$slug}-{$name}.php";
            }
        }

        $templates[] = "{$slug}.php";

        if ($rel_dir) {
            $templates[] = "{$rel_dir}/{$slug}.php";
        }

        return \locate_template($templates, true, false);
    }
1234606
public function delete(string $name): void
    {
        !$this->all && $this->inputs();

        Arrays::delete($this->input, $name);
        $this->cache = [];
    }
664549
public function removeEvent(string $name, ?string $table = null): void
    {
        $this->connection->getEventHandler()->removeEvent($name, $table);
    }
1222628
public static function get_template_part( $slug, $name = null, array $vars = [] ) {
		WP_View_Controller\Helper\get_template_part( $slug, $name, $vars );
	}
91405
public function RemoveNamespace($name, $header="")
    {
        if($header)
        {
            unset($this->headers[$header]->namespaces[$name]);
        }
        else
        {
            foreach($this->headers as $header_object)
            {
                unset($header_object->namespaces[$name]);
            }
        }
    }
412396
public function removeHeader($name) {
        if (true === array_key_exists($name, $this->headers)) {
            unset($this->headers[$name]);
        }
    }
541532
public function register($name, Closure $callback): void
    {
        if ($this->has($name)) {
            $this->callbacks = $this->callbacks->put($name, $this->callbacks->get($name, collect())->push($callback));
        } else {
            $builder = new MenuGenerator();

            $builder->setViewFactory($this->viewFactory);

            $this->menus->put($name, $builder);

            $this->callbacks = $this->callbacks->put($name, $this->callbacks->get($name, collect())->push($callback));
        }
    }