/** * @covers ::testValue */ public function testTestValue() { $this->assertTrue($this->fixture->testValue(PathsConfiguration::KEY_ELEMENTS, "/elements")); }
/** * Parse the paths configuration * * @param ArrayNodeDefinition $rootNode */ private function parsePaths($rootNode) { $rootNode->children()->arrayNode(PolymerConfiguration::KEY_PATHS)->addDefaultsIfNotSet()->children()->booleanNode(PathsConfiguration::KEY_RELATIVE_ON_DEBUG)->defaultValue(PathsConfiguration::getDefault(PathsConfiguration::KEY_RELATIVE_ON_DEBUG))->end()->scalarNode(PathsConfiguration::KEY_ELEMENTS)->defaultValue(PathsConfiguration::getDefault(PathsConfiguration::KEY_ELEMENTS))->end()->scalarNode(PathsConfiguration::KEY_COMPONENTS)->defaultValue(PathsConfiguration::getDefault(PathsConfiguration::KEY_COMPONENTS))->end()->end()->end(); }