\DephpugConfig

Class to get the default config using file *.dephpugger.yml*

Summary

Methods
Properties
Constants
getConfig()
configure()
getPathFile()
getConfigFromFile()
__get()
setNewDebuggerValue()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$defaultConfig
$config
N/A

Properties

$defaultConfig

$defaultConfig : 

Default config that will be replaced by *.dephpugger.yml* file

Type

$config

$config : 

Array with configurations

Type

Methods

getConfig()

getConfig() : array

Get the attribute config

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293

Returns

array —

$config

configure()

configure() 

Read the file (if exists) .dephpugger.yml

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293

getPathFile()

getPathFile() 

Get path of file *.dephpugger.yml*

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293

getConfigFromFile()

getConfigFromFile() : array

Get configuration from file *.dephpugger.yml*[

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293

Returns

array —

$config

__get()

__get(  $key) : array|null

Magit Method to get config as an attribute

Parameters

$key
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293

Returns

array|null

setNewDebuggerValue()

setNewDebuggerValue(string  $key, string  $value) : void

Change the attribute in configuration debugger

Parameters

string $key

Indicates the debugger's attribute

string $value

Indicates the new value

Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///src/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293