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