PHP Class MiniAsset\AssetTarget

Is created from configuration data and defines all the properties and aspects of an asset build target.
Afficher le fichier Open project: markstory/mini-asset Class Usage Examples

Protected Properties

Свойство Type Description
$files array
$filters array
$path string
$paths array
$themed boolean

Méthodes publiques

Méthode Description
__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

Method Details

__construct() public méthode

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 méthode

public ext ( ) : string
Résultat string

files() public méthode

public files ( ) : array
Résultat array

filterNames() public méthode

public filterNames ( ) : array
Résultat array

isThemed() public méthode

public isThemed ( ) : boolean
Résultat boolean

modifiedTime() public méthode

public modifiedTime ( ) : integer
Résultat integer

name() public méthode

public name ( ) : string
Résultat string

outputDir() public méthode

public outputDir ( ) : string
Résultat string

path() public méthode

public path ( ) : string
Résultat string

paths() public méthode

public paths ( ) : array
Résultat array

Property Details

$files protected_oe property

protected array $files
Résultat array

$filters protected_oe property

protected array $filters
Résultat array

$path protected_oe property

protected string $path
Résultat string

$paths protected_oe property

protected array $paths
Résultat array

$themed protected_oe property

protected bool $themed
Résultat boolean