protected function getPdfReader($id)
    {
        if (isset($this->readers[$id])) {
            return $this->readers[$id];
        }

        throw new \InvalidArgumentException(
            \sprintf('No pdf reader with the given id (%s) exists.', $id)
        );
    }
protected function getPdfReader($id)
    {
        if (isset($this->readers[$id])) {
            return $this->readers[$id];
        }

        throw new \InvalidArgumentException(
            \sprintf('No pdf reader with the given id (%s) exists.', $id)
        );
    }
protected function getPdfReader ( $ id ) { if ( isset ( $ this -> readers [ $ id ] ) ) { return $ this -> readers [ $ id ] ; } throw new \ InvalidArgumentException ( \ sprintf ( 'No pdf reader with the given id (%s) exists.' , $ id ) ) ; }
Get a pdf reader instance by its id.

@param string $id
@return PdfReader
Get a pdf reader instance by its id .