xPand4B / MVC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MVC

Table of Content

Available Helper Methods

Get the application path

app_path(string $folder = null): string

Returns an image collection path

collection_image(string $collectionName = null, string $fileName = null): ?string

Get config data

config(string $argument = null)

Get the public application path

public_path(): string

Get the resource path

resource_path(string $resourceName = null): string

Get route to the given url

route(string $name = null): ?string

Get the storage path

storage_path(string $storageName = null): string

Returns a stylesheet include

style(string $stylesheet)

Get translation for the given message

trans(string $message): ?string

Get the current url

url(string $name = null, string $lang = null): string

Render view

view(string $view, array $data = [])

About


Languages

Language:PHP 82.0%Language:CSS 10.8%Language:Blade 6.9%Language:Shell 0.3%