public function addCover($input, $options = array(), $type = null)
    {
        $options['input'] = ($this->version9 ? '--' : '') . 'cover';
        $options['inputArg'] = $this->ensureUrlOrFile($input, $type);
        $this->_objects[] = $this->ensureUrlOrFileOptions($options);
        return $this;
    }
public function addCover($input, $options = array(), $type = null)
    {
        $options['input'] = ($this->version9 ? '--' : '') . 'cover';
        $options['inputArg'] = $this->ensureUrlOrFile($input, $type);
        $this->_objects[] = $this->ensureUrlOrFileOptions($options);
        return $this;
    }
public function addCover ( $ input , $ options = array ( ) , $ type = null ) { $ options [ 'input' ] = ( $ this -> version9 ? '--' : '' ) . 'cover' ; $ options [ 'inputArg' ] = $ this -> ensureUrlOrFile ( $ input , $ type ) ; $ this -> _objects [ ] = $ this -> ensureUrlOrFileOptions ( $ options ) ; return $ this ; }
Add a cover page object to the output

@param string $input either a URL, a HTML string or a filename
@param array $options optional options for the cover page
@param string|null $type a type hint if the input is a string of known
type. This can either be `TYPE_HTML` or `TYPE_XML`. If `null` (default)
the type is auto detected from the string content.
@return static the Pdf instance for method chaining
Add a cover page object to the output