PHP Class Studio\Config\Config

Afficher le fichier Open project: franzliedke/studio Class Usage Examples

Protected Properties

Свойство Type Description
$file
$loaded
$paths
$serializer Studio\Config\Serializer

Méthodes publiques

Méthode Description
__construct ( $file, Studio\Config\Serializer $serializer )
addPath ( $path )
getPaths ( )
hasPackages ( )
make ( $file = null )
removePackage ( Package $package )
removePath ( $path )

Méthodes protégées

Méthode Description
dump ( )
readFromFile ( )
readPaths ( )
writeToFile ( array $data )

Method Details

__construct() public méthode

public __construct ( $file, Studio\Config\Serializer $serializer )
$serializer Studio\Config\Serializer

addPath() public méthode

public addPath ( $path )

dump() protected méthode

protected dump ( )

getPaths() public méthode

public getPaths ( )

hasPackages() public méthode

public hasPackages ( )

make() public static méthode

public static make ( $file = null )

readFromFile() protected méthode

protected readFromFile ( )

readPaths() protected méthode

protected readPaths ( )

removePackage() public méthode

public removePackage ( Package $package )
$package Studio\Package

removePath() public méthode

public removePath ( $path )

writeToFile() protected méthode

protected writeToFile ( array $data )
$data array

Property Details

$file protected_oe property

protected $file

$loaded protected_oe property

protected $loaded

$paths protected_oe property

protected $paths

$serializer protected_oe property

protected Serializer,Studio\Config $serializer
Résultat Studio\Config\Serializer