Resolver/SymfonyContainerCheckResolver.php
protected function lookupCheckByServiceId($name)
    {
        try {
            return $this->container->get($name);
        } catch (\InvalidArgumentException $e) {
            throw new CheckNotFoundException('Check not found: '.$name, 0, $e);
        }
    }
protected function lookupCheckByServiceId($name)
    {
        try {
            return $this->container->get($name);
        } catch (\InvalidArgumentException $e) {
            throw new CheckNotFoundException('Check not found: '.$name, 0, $e);
        }
    }
protected function lookupCheckByServiceId ( $ name ) { try { return $ this -> container -> get ( $ name ) ; } catch ( \ InvalidArgumentException $ e ) { throw new CheckNotFoundException ( 'Check not found: ' . $ name , 0 , $ e ) ; } }
Gets a check from the container.

@param string $name The check's service id

@throws CheckNotFoundException if the check is not registered as a service

@return CheckInterface
Gets a check from the container .