src/Lib/Scanner.php
public static function plugin($plugin)
    {
        $templates = [];

        foreach (App::path('Template', $plugin) as $path) {
            $templates = array_merge($templates, static::iteratePath($path));
        }

        return $templates;
    }
public static function plugin($plugin)
    {
        $templates = [];

        foreach (App::path('Template', $plugin) as $path) {
            $templates = array_merge($templates, static::iteratePath($path));
        }

        return $templates;
    }
public static function plugin ( $ plugin ) { $ templates = [ ] ; foreach ( App :: path ( 'Template' , $ plugin ) as $ path ) { $ templates = array_merge ( $ templates , static :: iteratePath ( $ path ) ) ; } return $ templates ; }
Return all templates for a given plugin.

@param string $plugin The plugin to find all templates for.

@return mixed
Return all templates for a given plugin .