Example #1
0
 public function getRegistryPath(InputInterface $input)
 {
     $registryPath = getcwd();
     if ($input instanceof Input\ArgvInput && $input->getRegistryPathArgument() !== false) {
         $registryPath = $input->getRegistryPathArgument();
     }
     return $registryPath;
 }