public function parse($file)
    {
        $this->file = $file;
        $this->validateSelf();
        $this->process->run("{$this->binary} {$this->file} -");

        return $this;
    }
public function parse($file)
    {
        $this->file = $file;
        $this->validateSelf();
        $this->process->run("{$this->binary} {$this->file} -");

        return $this;
    }
public function parse ( $ file ) { $ this -> file = $ file ; $ this -> validateSelf ( ) ; $ this -> process -> run ( "{$this->binary} {$this->file} -" ) ; return $ this ; }
Parse a PDF file.

@param string $file
@throws PdfBinaryNotDefinedException
@throws PdfNotFoundException
@return self
Parse a PDF file .