LazyRecord\Command\InitCommand::execute PHP Méthode

execute() public méthode

public execute ( )
    public function execute()
    {
        $this->mkpath('db/config');
        $this->mkpath('db/migration');
        $command = $this->createCommand('LazyRecord\\Command\\InitConfCommand');
        $command->execute();
        $command = $this->createCommand('LazyRecord\\Command\\BuildConfCommand');
        $command->execute('db/config/database.yml');
    }