Exemple #1
0
 /**
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->nodeMapping['path'] = __NAMESPACE__ . '\\PathNodeDefinition';
     $this->nodeMapping['paths'] = __NAMESPACE__ . '\\PathsNodeDefinition';
     $this->nodeMapping['level'] = __NAMESPACE__ . '\\LevelNodeDefinition';
     $this->nodeMapping['nullable_level'] = __NAMESPACE__ . '\\NullableLevelNodeDefinition';
     $this->nodeMapping['level_map'] = __NAMESPACE__ . '\\LevelMapNodeDefinition';
 }
Exemple #2
0
 /**
  * Overrides parent constructor to add $customNodes
  */
 public function __construct()
 {
     parent::__construct();
     foreach (self::$customNodes as $mapping => $nodeClass) {
         if (class_exists($nodeClass)) {
             $this->nodeMapping[$mapping] = $nodeClass;
         }
     }
 }
 public function __construct()
 {
     parent::__construct();
     $this->nodeMapping['array'] = 'Scrutinizer\\PhpAnalyzer\\Config\\ArrayNodeDefinition';
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->nodeMapping['menu'] = __NAMESPACE__ . '\\MenuNodeDefinition';
 }
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->nodeMapping['closure'] = __NAMESPACE__ . '\\ClosureNodeDefinition';
 }