PHP 클래스 MiniAsset\AssetTarget

Is created from configuration data and defines all the properties and aspects of an asset build target.
파일 보기 프로젝트 열기: markstory/mini-asset 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$files array
$filters array
$path string
$paths array
$themed boolean

공개 메소드들

메소드 설명
__construct ( string $path, array $files = [], array $filters = [], array $paths = [], boolean $themed = false )
ext ( ) : string
files ( ) : array
filterNames ( ) : array
isThemed ( ) : boolean
modifiedTime ( ) : integer
name ( ) : string
outputDir ( ) : string
path ( ) : string
paths ( ) : array

메소드 상세

__construct() 공개 메소드

public __construct ( string $path, array $files = [], array $filters = [], array $paths = [], boolean $themed = false )
$path string The output path or the asset target.
$files array An array of MiniAsset\File\FileInterface
$filters array An array of filter names for this target.
$paths array A list of search paths for this asset. These paths are used by filters that allow additional resources to be included e.g. Sprockets
$themed boolean Whether or not this file should be themed.

ext() 공개 메소드

public ext ( ) : string
리턴 string

files() 공개 메소드

public files ( ) : array
리턴 array

filterNames() 공개 메소드

public filterNames ( ) : array
리턴 array

isThemed() 공개 메소드

public isThemed ( ) : boolean
리턴 boolean

modifiedTime() 공개 메소드

public modifiedTime ( ) : integer
리턴 integer

name() 공개 메소드

public name ( ) : string
리턴 string

outputDir() 공개 메소드

public outputDir ( ) : string
리턴 string

path() 공개 메소드

public path ( ) : string
리턴 string

paths() 공개 메소드

public paths ( ) : array
리턴 array

프로퍼티 상세

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

protected array $files
리턴 array

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

protected array $filters
리턴 array

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

protected string $path
리턴 string

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

protected array $paths
리턴 array

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

protected bool $themed
리턴 boolean