public static function buildDependencies(DependencyBuilder $dependencies)
    {
        $classes = [
            // guarantee DoctrineBundle
            DoctrineBundle::class,
            // guarantee ORM
            Column::class,
        ];

        foreach ($classes as $class) {
            $dependencies->addClassDependency(
                $class,
                'orm'
            );
        }
    }
public static function buildDependencies(DependencyBuilder $dependencies)
    {
        $classes = [
            // guarantee DoctrineBundle
            DoctrineBundle::class,
            // guarantee ORM
            Column::class,
        ];

        foreach ($classes as $class) {
            $dependencies->addClassDependency(
                $class,
                'orm'
            );
        }
    }
public static function buildDependencies ( DependencyBuilder $ dependencies ) { $ classes = [ // guarantee DoctrineBundle DoctrineBundle :: class , // guarantee ORM Column :: class , ] ; foreach ( $ classes as $ class ) { $ dependencies -> addClassDependency ( $ class , 'orm' ) ; } }
Central method to add dependencies needed for Doctrine ORM.

@param DependencyBuilder $dependencies
Central method to add dependencies needed for Doctrine ORM .