Views
class Views (View source)
Attire Views Class
Traits
Attire Filekit Trait
Methods
static bool
isValidFileExtension(string $ext)
Check if the file have a valid extension.
from FileKit
__construct()
Class constructor.
array
getStored()
Get stored views.
static string
parse(string $view)
Parse a view with Attire preferences.
Details
static bool
rtrim(string $path, string $delimiter = '/')
Right trim a file path.
static bool
isValidFileExtension(string $ext)
Check if the file have a valid extension.
at line 42
__construct()
Class constructor.
at line 52
array
getStored()
Get stored views.
at line 83
static string
parse(string $view)
Parse a view with Attire preferences.