PHP Class Newscoop\Installer\Services\BootstrapService

Afficher le fichier Open project: sourcefabric/newscoop

Méthodes publiques

Свойство Type Description
$basePath
$mustBeWritable

Protected Properties

Свойство Type Description
$filesystem
$logger

Méthodes publiques

Méthode Description
__construct ( object $logger = null, array $directories = ['cache', 'log', 'library/Proxy', 'themes'], string $basePath = null ) Construct class
checkDirectories ( ) : mixed Check if all directories are writable
makeDirectoriesWritable ( ) : boolean Try to make all directories writeable
warmapCache ( ) Reload themes reditions in datbase

Method Details

__construct() public méthode

Construct class
public __construct ( object $logger = null, array $directories = ['cache', 'log', 'library/Proxy', 'themes'], string $basePath = null )
$logger object
$directories array
$basePath string

checkDirectories() public méthode

Check if all directories are writable
public checkDirectories ( ) : mixed
Résultat mixed true if all writable or array with not writable directories

makeDirectoriesWritable() public méthode

Try to make all directories writeable
public makeDirectoriesWritable ( ) : boolean
Résultat boolean

warmapCache() public méthode

Reload themes reditions in datbase
public warmapCache ( )

Property Details

$basePath public_oe property

public $basePath

$filesystem protected_oe property

protected $filesystem

$logger protected_oe property

protected $logger

$mustBeWritable public_oe property

public $mustBeWritable