src/Makes/MakerTrait.php
protected function getStubViews($ui)
    {
        $viewsPath = $this->getStubPath() . join(DIRECTORY_SEPARATOR, ['views', $ui, 'pages', '']);
        $files = $this->getFilesRecursive($viewsPath);
        $viewFiles = [];

        foreach ($files as $file)
        {
            $viewFiles[str_replace($viewsPath, '', $file)] = $file;
        }

        return $viewFiles;
    }
protected function getStubViews($ui)
    {
        $viewsPath = $this->getStubPath() . join(DIRECTORY_SEPARATOR, ['views', $ui, 'pages', '']);
        $files = $this->getFilesRecursive($viewsPath);
        $viewFiles = [];

        foreach ($files as $file)
        {
            $viewFiles[str_replace($viewsPath, '', $file)] = $file;
        }

        return $viewFiles;
    }
protected function getStubViews ( $ ui ) { $ viewsPath = $ this -> getStubPath ( ) . join ( DIRECTORY_SEPARATOR , [ 'views' , $ ui , 'pages' , '' ] ) ; $ files = $ this -> getFilesRecursive ( $ viewsPath ) ; $ viewFiles = [ ] ; foreach ( $ files as $ file ) { $ viewFiles [ str_replace ( $ viewsPath , '' , $ file ) ] = $ file ; } return $ viewFiles ; }
Get views stubs.

@return array views
Get views stubs .