original_string: protected function addPageParameterNode()
      {
      	$builder = new TreeBuilder();
      	$node = $builder->root('page');
      
      	$node
  	    	->treatTrueLike(array(
  	    		'versionable' => false,
  	    		'signable' => false,
  	    		'form' => array(
  	    			'type' => "ASF\DocumentBundle\Form\Type\PageType",
  	    			'name' => 'page_type'
  	    		)
  	    	))
  	    	->treatFalseLike(array(
      			'versionable' => false,
      			'signable' => false,
  	    		'form' => array(
  	    			'type' => "ASF\DocumentBundle\Form\Type\PageType",
  	    			'name' => 'page_type'
  	    		)
  	    	))
  	    	->addDefaultsIfNotSet()
  	    	->children()
  	    		->booleanNode('versionable')
  	    			->defaultFalse()
  	    		->end()
  	    		->booleanNode('signable')
  	    			->defaultFalse()
  	    		->end()
  		    	->arrayNode('form')
  			    	->addDefaultsIfNotSet()
  			    	->children()
  				    	->scalarNode('type')
  				    		->defaultValue('ASF\DocumentBundle\Form\Type\PageType')
  				    	->end()
  				    	->scalarNode('name')
  				    		->defaultValue('page_type')
  				    	->end()
  				    	->arrayNode('validation_groups')
  				    		->prototype('scalar')->end()
  				    		->defaultValue(array("Default"))
  				    	->end()
  			    	->end()
  		    	->end()
  	    	->end()
      	;
      
      	return $node;
      }
code: protected function addPageParameterNode()
      {
      	$builder = new TreeBuilder();
      	$node = $builder->root('page');
      
      	$node
  	    	->treatTrueLike(array(
  	    		'versionable' => false,
  	    		'signable' => false,
  	    		'form' => array(
  	    			'type' => "ASF\DocumentBundle\Form\Type\PageType",
  	    			'name' => 'page_type'
  	    		)
  	    	))
  	    	->treatFalseLike(array(
      			'versionable' => false,
      			'signable' => false,
  	    		'form' => array(
  	    			'type' => "ASF\DocumentBundle\Form\Type\PageType",
  	    			'name' => 'page_type'
  	    		)
  	    	))
  	    	->addDefaultsIfNotSet()
  	    	->children()
  	    		->booleanNode('versionable')
  	    			->defaultFalse()
  	    		->end()
  	    		->booleanNode('signable')
  	    			->defaultFalse()
  	    		->end()
  		    	->arrayNode('form')
  			    	->addDefaultsIfNotSet()
  			    	->children()
  				    	->scalarNode('type')
  				    		->defaultValue('ASF\DocumentBundle\Form\Type\PageType')
  				    	->end()
  				    	->scalarNode('name')
  				    		->defaultValue('page_type')
  				    	->end()
  				    	->arrayNode('validation_groups')
  				    		->prototype('scalar')->end()
  				    		->defaultValue(array("Default"))
  				    	->end()
  			    	->end()
  		    	->end()
  	    	->end()
      	;
      
      	return $node;
      }
code_tokens: protected function addPageParameterNode ( ) { $ builder = new TreeBuilder ( ) ; $ node = $ builder -> root ( 'page' ) ; $ node -> treatTrueLike ( array ( 'versionable' => false , 'signable' => false , 'form' => array ( 'type' => "ASF\DocumentBundle\Form\Type\PageType" , 'name' => 'page_type' ) ) ) -> treatFalseLike ( array ( 'versionable' => false , 'signable' => false , 'form' => array ( 'type' => "ASF\DocumentBundle\Form\Type\PageType" , 'name' => 'page_type' ) ) ) -> addDefaultsIfNotSet ( ) -> children ( ) -> booleanNode ( 'versionable' ) -> defaultFalse ( ) -> end ( ) -> booleanNode ( 'signable' ) -> defaultFalse ( ) -> end ( ) -> arrayNode ( 'form' ) -> addDefaultsIfNotSet ( ) -> children ( ) -> scalarNode ( 'type' ) -> defaultValue ( 'ASF\DocumentBundle\Form\Type\PageType' ) -> end ( ) -> scalarNode ( 'name' ) -> defaultValue ( 'page_type' ) -> end ( ) -> arrayNode ( 'validation_groups' ) -> prototype ( 'scalar' ) -> end ( ) -> defaultValue ( array ( "Default" ) ) -> end ( ) -> end ( ) -> end ( ) -> end ( ) ; return $ node ; }
docstring: Add Page Entity Configuration
docstring_tokens: Add Page Entity Configuration