\Phile\CoreBootstrap

Bootstrap class

Summary

Methods
Properties
Constants
loadConfiguration()
setupFolder()
setupErrorHandler()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

loadConfiguration()

loadConfiguration(string  $file,\Phile\Core\Config  $config): void

Loads $file into $configuration.

Parameters

string $file

Path to config file to load

\Phile\Core\Config $config

Phile configuration

setupFolder()

setupFolder(string  $directory,\Phile\Core\Config  $config): void

Creates and protects folder and path $directory.

Parameters

string $directory

Path to $directory

\Phile\Core\Config $config

Phile configuration

setupErrorHandler()

setupErrorHandler(\Phile\Core\Config  $config): void

Initializes error handling

Parameters

\Phile\Core\Config $config

Phile configuration