Documentation
¶
Index ¶
- type Finder
- func (finder *Finder) AddLocation(path string)
- func (finder Finder) Extensions() []string
- func (finder Finder) Find(name string) (string, bool)
- func (finder Finder) Paths() []string
- func (finder Finder) PossibleFiles(name string) []string
- func (finder *Finder) RegisterExtensions(extensions ...string)
- func (finder Finder) Search(input string) []View
- type View
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Finder ¶
type Finder struct {
// contains filtered or unexported fields
}
Find view files on the filesystem. This struct is based on the Illuminate\View\FileViewFinder class from laravel source.
func (*Finder) AddLocation ¶
func (Finder) Extensions ¶
func (Finder) Find ¶
Get the fully qualified location of the view. Returns false if no location is found.
func (Finder) PossibleFiles ¶
Returns all possible files for a given view name.
func (*Finder) RegisterExtensions ¶
Click to show internal directories.
Click to hide internal directories.