PHP 클래스 app\Application

상속: extends Silex\Application
파일 보기 프로젝트 열기: phanan/koel 1 사용 예제들

공개 메소드들

메소드 설명
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