Add command for Doctrine metadata generating

[MAILPOET-2014]
This commit is contained in:
Jan Jakeš
2019-05-09 15:15:11 +02:00
committed by M. Shull
parent fcccbf8358
commit 4c6e7572d4
3 changed files with 26 additions and 2 deletions

View File

@@ -19,8 +19,8 @@ class ConfigurationFactory {
/** @var bool */
private $is_dev_mode;
function __construct() {
$this->is_dev_mode = WP_DEBUG;
function __construct($is_dev_mode = null) {
$this->is_dev_mode = $is_dev_mode === null ? WP_DEBUG : $is_dev_mode;
}
function createConfiguration() {