protected function addJqueryParameterNode()
    {
        $builder = new TreeBuilder();
        $node = $builder->root('jquery');

        $node
            ->treatTrueLike(array('path' => self::COMPONENTS_DIR.'/jquery/jquery.min.js'))
            ->treatFalseLike(array('path' => false))
            ->addDefaultsIfNotSet()
            ->children()
                ->scalarNode('path')
                    ->cannotBeEmpty()
                    ->info('Fill this value if you do not use the package "component/jquery".')
                    ->defaultValue(self::COMPONENTS_DIR.'/jquery/jquery.min.js')
                ->end()
            ->end()
        ;

        return $node;
    }
protected function addJqueryParameterNode()
    {
        $builder = new TreeBuilder();
        $node = $builder->root('jquery');

        $node
            ->treatTrueLike(array('path' => self::COMPONENTS_DIR.'/jquery/jquery.min.js'))
            ->treatFalseLike(array('path' => false))
            ->addDefaultsIfNotSet()
            ->children()
                ->scalarNode('path')
                    ->cannotBeEmpty()
                    ->info('Fill this value if you do not use the package "component/jquery".')
                    ->defaultValue(self::COMPONENTS_DIR.'/jquery/jquery.min.js')
                ->end()
            ->end()
        ;

        return $node;
    }
protected function addJqueryParameterNode ( ) { $ builder = new TreeBuilder ( ) ; $ node = $ builder -> root ( 'jquery' ) ; $ node -> treatTrueLike ( array ( 'path' => self :: COMPONENTS_DIR . '/jquery/jquery.min.js' ) ) -> treatFalseLike ( array ( 'path' => false ) ) -> addDefaultsIfNotSet ( ) -> children ( ) -> scalarNode ( 'path' ) -> cannotBeEmpty ( ) -> info ( 'Fill this value if you do not use the package "component/jquery".' ) -> defaultValue ( self :: COMPONENTS_DIR . '/jquery/jquery.min.js' ) -> end ( ) -> end ( ) ; return $ node ; }
Return jQuery configuration.
Return jQuery configuration .