src/Services/Template.php
public function index($partial = 'index')
    {
        $partials = $this->map(
            'index',
            ['index', 'create', 'export', 'filters', 'scopes', 'header', 'batch', 'row', 'scripts', 'paginator']
        );

        return null === $partial ? $partials : $partials[$partial];
    }
public function index($partial = 'index')
    {
        $partials = $this->map(
            'index',
            ['index', 'create', 'export', 'filters', 'scopes', 'header', 'batch', 'row', 'scripts', 'paginator']
        );

        return null === $partial ? $partials : $partials[$partial];
    }
public function index ( $ partial = 'index' ) { $ partials = $ this -> map ( 'index' , [ 'index' , 'create' , 'export' , 'filters' , 'scopes' , 'header' , 'batch' , 'row' , 'scripts' , 'paginator' ] ) ; return null === $ partial ? $ partials : $ partials [ $ partial ] ; }
Scaffold index templates.

@param $partial

@return mixed array|string
Scaffold index templates .