private function createManager(OutputInterface $output)
    {
        try {
            return new Manager(Manifest::loadFile(self::MANIFEST_FILE));
        } catch (FileException $e) {
            $output->writeln('<error>Unable to search for updates.</error>');

            exit(1);
        }
    }
private function createManager(OutputInterface $output)
    {
        try {
            return new Manager(Manifest::loadFile(self::MANIFEST_FILE));
        } catch (FileException $e) {
            $output->writeln('<error>Unable to search for updates.</error>');

            exit(1);
        }
    }
private function createManager ( OutputInterface $ output ) { try { return new Manager ( Manifest :: loadFile ( self :: MANIFEST_FILE ) ) ; } catch ( FileException $ e ) { $ output -> writeln ( '<error>Unable to search for updates.</error>' ) ; exit ( 1 ) ; } }
Returns manager instance or exit with status code 1 on failure.

@param OutputInterface $output

@return \Herrera\Phar\Update\Manager
Returns manager instance or exit with status code 1 on failure .