PHP 클래스 DotsUnited\BundleFu\Filter\CssUrlRewriteFilter

저자: Jan Sorgalla ([email protected])
상속: implements DotsUnited\BundleFu\Filter\FilterInterface
파일 보기 프로젝트 열기: dotsunited/bundlefu 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$bundleUrl
$file

공개 메소드들

메소드 설명
filter ( $content ) {@inheritDoc}
filterFile ( $content, $file, SplFileInfo $fileInfo, $bundleUrl, $bundlePath ) {@inheritDoc}

보호된 메소드들

메소드 설명
canonicalize ( string $path ) : string Canonicalizes a path.
rewriteRelative ( string $url, string $sourceUrl, string $bundleUrl ) : string Rewrites to a relative url.
rewriteUrl ( array $matches ) : string Callback which rewrites matched CSS ruls.

메소드 상세

canonicalize() 보호된 메소드

Canonicalizes a path.
protected canonicalize ( string $path ) : string
$path string
리턴 string

filter() 공개 메소드

{@inheritDoc}
public filter ( $content )

filterFile() 공개 메소드

{@inheritDoc}
public filterFile ( $content, $file, SplFileInfo $fileInfo, $bundleUrl, $bundlePath )
$fileInfo SplFileInfo

rewriteRelative() 보호된 메소드

Rewrites to a relative url.
protected rewriteRelative ( string $url, string $sourceUrl, string $bundleUrl ) : string
$url string
$sourceUrl string
$bundleUrl string
리턴 string

rewriteUrl() 보호된 메소드

Callback which rewrites matched CSS ruls.
protected rewriteUrl ( array $matches ) : string
$matches array
리턴 string

프로퍼티 상세

$bundleUrl 보호되어 있는 프로퍼티

protected $bundleUrl

$file 보호되어 있는 프로퍼티

protected $file