public function check()
    {
        try {
            return $this->json($this->manager()->checkPackage());
        } catch (PackageManagerException $e) {
            return $this->getJsonException($e);
        }
    }
public function check()
    {
        try {
            return $this->json($this->manager()->checkPackage());
        } catch (PackageManagerException $e) {
            return $this->getJsonException($e);
        }
    }
public function check ( ) { try { return $ this -> json ( $ this -> manager ( ) -> checkPackage ( ) ) ; } catch ( PackageManagerException $ e ) { return $ this -> getJsonException ( $ e ) ; } }
Check a package.

@return \Symfony\Component\HttpFoundation\JsonResponse
Check a package .