src/Task/Doctrine/loadOrmTasks.php
public function ormConvertD1Schema(
        $fromPath,
        $toType,
        $destPath,
        $from,
        $to,
        $opt = ['extend' => null, 'num-spaces' => 4]
    ) {
        $validOpts = ['extend', 'num-spaces'];
        $command = new Command\ConvertDoctrine1SchemaCommand;

        $arg = [
            'from-path' => $fromPath,
            'to-type'   => $toType,
            'dest-path' => $destPath,
            'from'      => $from,
            'to'        => $to,
        ];

        $this->runDoctrineCommand($command, $opt, $validOpts, $arg);
    }
public function ormConvertD1Schema(
        $fromPath,
        $toType,
        $destPath,
        $from,
        $to,
        $opt = ['extend' => null, 'num-spaces' => 4]
    ) {
        $validOpts = ['extend', 'num-spaces'];
        $command = new Command\ConvertDoctrine1SchemaCommand;

        $arg = [
            'from-path' => $fromPath,
            'to-type'   => $toType,
            'dest-path' => $destPath,
            'from'      => $from,
            'to'        => $to,
        ];

        $this->runDoctrineCommand($command, $opt, $validOpts, $arg);
    }
public function ormConvertD1Schema ( $ fromPath , $ toType , $ destPath , $ from , $ to , $ opt = [ 'extend' => null , 'num-spaces' => 4 ] ) { $ validOpts = [ 'extend' , 'num-spaces' ] ; $ command = new Command \ ConvertDoctrine1SchemaCommand ; $ arg = [ 'from-path' => $ fromPath , 'to-type' => $ toType , 'dest-path' => $ destPath , 'from' => $ from , 'to' => $ to , ] ; $ this -> runDoctrineCommand ( $ command , $ opt , $ validOpts , $ arg ) ; }
Converts Doctrine 1.X schema into a Doctrine 2.X schema

@param string $fromPath The path of Doctrine 1.X schema information
@param string $toType   The destination Doctrine 2.X mapping type
@param string $destPath The path to generate your Doctrine 2.X mapping information
@param array  $from     Optional paths of Doctrine 1.X schema information
@param array  $opt

@option $extend     Defines a base class to be extended by generated entity classes
@option $num-spaces Defines the number of indentation spaces
Converts Doctrine 1 . X schema into a Doctrine 2 . X schema