src/Task/Doctrine/loadOrmTasks.php
public function ormConvertMapping(
        $toType,
        $destPath,
        $opt = [
            'filter'        => null,
            'force'         => null,
            'from-database' => null,
            'extend'        => null,
            'num-spaces'    => 4,
            'namespace'     => null,
        ]
    ) {
        $validOpts = [
            'filter',
            'force',
            'from-database',
            'extend',
            'num-spaces',
            'namespace',
        ];
        $command = new Command\ConvertMappingCommand;

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

        $this->runDoctrineCommand($command, $opt, $validOpts, $arg);
    }
public function ormConvertMapping(
        $toType,
        $destPath,
        $opt = [
            'filter'        => null,
            'force'         => null,
            'from-database' => null,
            'extend'        => null,
            'num-spaces'    => 4,
            'namespace'     => null,
        ]
    ) {
        $validOpts = [
            'filter',
            'force',
            'from-database',
            'extend',
            'num-spaces',
            'namespace',
        ];
        $command = new Command\ConvertMappingCommand;

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

        $this->runDoctrineCommand($command, $opt, $validOpts, $arg);
    }
public function ormConvertMapping ( $ toType , $ destPath , $ opt = [ 'filter' => null , 'force' => null , 'from-database' => null , 'extend' => null , 'num-spaces' => 4 , 'namespace' => null , ] ) { $ validOpts = [ 'filter' , 'force' , 'from-database' , 'extend' , 'num-spaces' , 'namespace' , ] ; $ command = new Command \ ConvertMappingCommand ; $ arg = [ 'to-type' => $ toType , 'dest-path' => $ destPath , ] ; $ this -> runDoctrineCommand ( $ command , $ opt , $ validOpts , $ arg ) ; }
Convert mapping information between supported formats

@param string $toType   The mapping type to be converted
@param string $destPath The path to generate your entities classes
@param array  $opt

@option $filter        A string pattern used to match entities that should be processed
@option $force         Force to overwrite existing mapping files
@option $from-database Whether or not to convert mapping information from existing database
@option $extend        Defines a base class to be extended by generated entity classes
@option $num-spaces    Defines the number of indentation spaces
@option $namespace     Defines a namespace for the generated entity classes, if converted from database
Convert mapping information between supported formats