Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Jul 5, 2012
  1. @stof

    Merge pull request #39 from gajdaw/format_fix

    stof authored
    Documentation format fix
  2. Fixed URLs

    authored
  3. Documentation format fix

    authored
Commits on Jun 27, 2012
  1. @stof

    Merge pull request #37 from gajdaw/install_composer

    stof authored
    Installation with composer
Commits on Jun 21, 2012
  1. Installation with composer

    authored
Commits on May 30, 2012
  1. @stof

    Merge pull request #30 from Inori/fix-namespaces

    stof authored
    Fix namespace to doctrine in links
  2. @Inoryy
Commits on Apr 3, 2012
  1. @stof

    Merge pull request #24 from marcw/patch-1

    stof authored
    Fixes broken link to documentation
  2. @marcw
Commits on Feb 6, 2012
  1. @stof

    Updated the license header

    stof authored
  2. @stof
  3. @stof
Commits on Jan 17, 2012
  1. @stof

    Merge pull request #19 from pminnieur/patch-1

    stof authored
    fixed target-dir and autoload in composer.json
  2. @pminnieur
Commits on Dec 17, 2011
  1. @beberlei

    Fix composer.json

    beberlei authored
Commits on Dec 15, 2011
  1. @beberlei

    Merge pull request #14 from doctrine/DoctrineMove

    beberlei authored
    Doctrine move
Commits on Dec 7, 2011
  1. @beberlei

    Fix docs

    beberlei authored
  2. @beberlei

    Fix namespace

    beberlei authored
Commits on Nov 17, 2011
  1. @beberlei
Commits on Aug 25, 2011
  1. @fabpot
Commits on Jun 18, 2011
  1. @fabpot

    Merge pull request #3 from weaverryan/new_readme

    fabpot authored
    Adding README with a link to the cookbook article
Commits on Jun 17, 2011
  1. @jwage

    Merge pull request #4 from stfalcon/master

    jwage authored
    added installation guide
  2. @stfalcon

    added installation guide

    stfalcon authored
Commits on May 29, 2011
  1. @weaverryan
Commits on May 9, 2011
  1. @kriswallsmith

    Merge pull request #1 from mcbennn/master

    kriswallsmith authored
    Fixes setApplicationEntityManager call
  2. @mcbennn
Commits on Mar 17, 2011
  1. @vicb
  2. @vicb

    [Config] Component refactoring

    vicb authored
    The Config component API have changed and the extension configuration files must be updated accordingly:
    
    1. Array nodes must enclosed their children definition in ->children() ... ->end() calls:
    
    Before:
    
        $treeBuilder->root('zend', 'array')
            ->arrayNode('logger')
                ->scalarNode('priority')->defaultValue('INFO')->end()
                ->booleanNode('log_errors')->defaultFalse()->end()
            ->end();
    
    After:
    
        $treeBuilder->root('zend', 'array')
            ->children()
                ->arrayNode('logger')
                    ->children()
                        ->scalarNode('priority')->defaultValue('INFO')->end()
                        ->booleanNode('log_errors')->defaultFalse()->end()
                    ->end()
                ->end()
            ->end();
    
    2. The 'builder' method (in NodeBuilder) has been dropped in favor of an 'append' method (in ArrayNodeDefinition)
    
    Before:
    
        $treeBuilder->root('doctrine', 'array')
            ->arrayNode('dbal')
                ->builder($this->getDbalConnectionsNode())
            ->end();
    
    After:
    
        $treeBuilder->root('doctrine', 'array')
            ->children()
                ->arrayNode('dbal')
                    ->append($this->getDbalConnectionsNode())
                ->end()
            ->end();
    
    3. The root of a TreeBuilder is now an NodeDefinition (and most probably an ArrayNodeDefinition):
    
    Before:
    
        $root = $treeBuilder->root('doctrine', 'array');
        $this->addDbalSection($root);
    
        public function addDbalSection(NodeBuilder $node)
        {
            ...
        }
    
    After:
    
        $root = $treeBuilder->root('doctrine', 'array');
        $this->addDbalSection($root);
    
        public function addDbalSection(ArrayNodeDefinition $node)
        {
            ...
        }
    
    4. The NodeBuilder API has changed (this is seldom used):
    
    Before:
    
        $node = new NodeBuilder('connections', 'array');
    
    After:
    
    The recommended way is to use a tree builder:
    
        $treeBuilder = new TreeBuilder();
        $node = $treeBuilder->root('connections', 'array');
    
    An other way would be:
    
        $builder = new NodeBuilder();
        $node = $builder->node('connections', 'array');
    
    Some notes:
    
    - Tree root nodes should most always be array nodes, so this as been made the default:
    
        $treeBuilder->root('doctrine', 'array') is equivalent to $treeBuilder->root('doctrine')
    
    - There could be more than one ->children() ... ->end() sections. This could help with the readability:
    
        $treeBuilder->root('doctrine')
            ->children()
                ->scalarNode('default_connection')->end()
            ->end()
            ->fixXmlConfig('type')
            ->children()
                ->arrayNode('types')
                    ....
                ->end()
            ->end()
Commits on Mar 16, 2011
  1. @hason
Commits on Mar 11, 2011
  1. @fabpot
Commits on Mar 6, 2011
  1. @fabpot
Commits on Feb 20, 2011
  1. @lsmith77

    added a DI extension for DoctrineMigrations, removed --bundle option …

    lsmith77 authored
    …in favor of application level settings
Commits on Feb 19, 2011
  1. @lsmith77 @fabpot

    small fix for recent refactoring in Doctrine Migrations

    lsmith77 authored fabpot committed
Commits on Feb 5, 2011
  1. @fabpot
Something went wrong with that request. Please try again.