Source API for the «PorteConfig» class
PorteConfig
A central class to store configuration.
It define default values for the properties used by Porte. All the configuration provided as an array to the Porte constructor are passed to an instance of this class which is itself available though the config property of the Porte instance.
PHP magic methods
- __construct
-
Create a new configuration based on the provided array.
Each key present in the array will become a property of the config instance. -
- return
- null
- $config
- array