Loader
class Loader extends Twig_Loader_Filesystem (View source)
Attire Loader Class
Traits
Methods
static bool
isValidFileExtension(string $ext)
Check if the file have a valid extension.
from FileKit
__construct(array $options = [])
Class constructor.
static
setRootPath(string $path)
Get the root path.
static string
getRootPath()
Get the root path.
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 43
__construct(array $options = [])
Class constructor.
at line 60
static
setRootPath(string $path)
Get the root path.
at line 70
static string
getRootPath()
Get the root path.