src/Console/CreateCommand.php
protected function makeCreator(InputInterface $input)
    {
        $path = $input->getArgument('path');

        if ($input->getOption('git')) {
            return new GitRepoCreator($input->getOption('git'), $path);
        } elseif ($input->getOption('submodule')) {
            return new GitSubmoduleCreator($input->getOption('submodule'), $path);
        } else {
            $creator = new SkeletonCreator($path);
            $this->installParts($creator);
            return $creator;
        }
    }
protected function makeCreator(InputInterface $input)
    {
        $path = $input->getArgument('path');

        if ($input->getOption('git')) {
            return new GitRepoCreator($input->getOption('git'), $path);
        } elseif ($input->getOption('submodule')) {
            return new GitSubmoduleCreator($input->getOption('submodule'), $path);
        } else {
            $creator = new SkeletonCreator($path);
            $this->installParts($creator);
            return $creator;
        }
    }
protected function makeCreator ( InputInterface $ input ) { $ path = $ input -> getArgument ( 'path' ) ; if ( $ input -> getOption ( 'git' ) ) { return new GitRepoCreator ( $ input -> getOption ( 'git' ) , $ path ) ; } elseif ( $ input -> getOption ( 'submodule' ) ) { return new GitSubmoduleCreator ( $ input -> getOption ( 'submodule' ) , $ path ) ; } else { $ creator = new SkeletonCreator ( $ path ) ; $ this -> installParts ( $ creator ) ; return $ creator ; } }
Build a package creator from the given input options.

@param InputInterface $input
@return CreatorInterface
Build a package creator from the given input options .