PHP Класс app\Application

Наследование: extends Silex\Application
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
getLatestVersion ( Client $client = null ) : string Get the latest version number of Koel from GitHub.
publicPath ( ) : string We have merged public path and base path.
rev ( string $file, string $manifestFile = null ) : string Loads a revision'ed asset file, making use of gulp-rev This is a copycat of L5's Elixir, but catered to our directory structure.
staticUrl ( string $name = null ) : string Get a URL for static file requests.

Описание методов

getLatestVersion() публичный Метод

Get the latest version number of Koel from GitHub.
public getLatestVersion ( Client $client = null ) : string
$client GuzzleHttp\Client
Результат string

publicPath() публичный Метод

We have merged public path and base path.
public publicPath ( ) : string
Результат string

rev() публичный Метод

Loads a revision'ed asset file, making use of gulp-rev This is a copycat of L5's Elixir, but catered to our directory structure.
public rev ( string $file, string $manifestFile = null ) : string
$file string
$manifestFile string
Результат string

staticUrl() публичный Метод

If this installation of Koel has a CDN_URL configured, use it as the base. Otherwise, just use a full URL to the asset.
public staticUrl ( string $name = null ) : string
$name string The additional resource name/path.
Результат string