@param string $title
@param string $value

@return \BotMan\Drivers\Facebook\Extensions\Airline\AirlinePassengerSegmentInfo
325370
public function addProductInfo(string $title, string $value): self
    {
        $this->productInfo[] = [
            'title' => $title,
            'value' => $value,
        ];

        return $this;
    }
910600
public static function title($value, $encoding = null)
    {
        $options  = [];
        $encoding = $encoding ?: static::$encoding;

        if ($encoding) {
            $options['encoding'] = $encoding;
        }

        return StaticFilter::execute(
            static::camelCaseToUnderscore($value), Filter\UpperCaseWords::class, $options
        );
    }
130197
protected function createSuggestion($value)
    {
        // Strip the obsolete regex keys
        if (empty($this->obsolete_regex) === false) {
            $value = preg_replace("/^({$this->obsolete_regex})\./i", '', $value);
        }

        return Str::title(str_replace('_', ' ', $value));
    }
600652
public function setTitle(string $title): Poll
    {
        $title = trim($title);
        $this->title = substr($title, 0, min(static::MAX_LENGTH_TITLE, strlen($title)));
        return $this;
    }
739748
public static function month($field, $title, $value = '')
    {
        return self::datePicker($field, $title, (string)$value, DatePicker::TYPE_MONTH);
    }
89540
public static function createSimple(string $title, string $content): self
    {
        $card = new self(self::TYPE_SIMPLE);

        $card->title   = $title;
        $card->content = $content;

        return $card;
    }
5553
public function setRightTitle($title)
    {
        foreach ($this->getChildren() as $field) {
            /** @var FormField $field */
            $field->setRightTitle($title);
        }

        return $this;
    }
818943
public function setTitle($title, $siteName = null, $separator = null)
    {
        return $this->seo()->setTitle($title, $siteName, $separator);
    }
47447
protected static function detectTitle(array $title)
    {
        $assignment = $title['assignment'];
        if ($assignment === null) {
            return;
        }

        $where = array_merge(
            Utils\Utils::arrayWhitelist($title, [
                'assignment',
                'our_number',
                'due',
            ]),
            [
                'ORDER' => [
                    'stamp' => 'DESC',
                    'id' => 'DESC',
                ],
            ]
        );

        $ids = Models\Title::dump($where, 'id');
        if (empty($ids)) {
            return;
        }
        return $ids[0];
    }
395616
public static function textarea($field, $title, $value = '')
    {
        return self::input($field, $title, $value, Input::TYPE_TEXTAREA);
    }
617591
public function addEncryptedXmlTorg12SellerTitles(\AgentSIB\Diadoc\Api\Proto\Events\EncryptedXmlDocumentAttachment $value)
    {
        if ($this->EncryptedXmlTorg12SellerTitles === null) {
            $this->EncryptedXmlTorg12SellerTitles = new \Protobuf\MessageCollection();
        }

        $this->EncryptedXmlTorg12SellerTitles->add($value);
    }
856255
public static function frameImageOne($field, $title, $src, $value = '')
    {
        return self::frame($field, $title, $src, (string)$value, Frame::TYPE_IMAGE);
    }
786224
public function whereTitle($title, callable $callback = null)
    {
        $item = $this->findBy('title', $title);

        if (is_callable($callback)) {
            return call_user_func($callback, $item);
        }

        return $item;
    }
1205871
protected function renderTitle($title)
    {
        $obj = $this->obj();
        if ($obj->view()) {
            return $obj->render((string)$title, $obj);
        } else {
            return (string)$title;
        }
    }
72174
public function view($content, $title = null)
    {
        return $this->app[AdminController::class]->renderContent($content, $title);
    }
903902
public function message($title, $text = null)
    {
        if (!in_array($this->type, ['success', 'error', 'info', 'warning'])) {
            return '';
        }
        $container = $this->assetFactory->container(self::position);
        $type      = $this->resolveType();
        return $container->inlineScript('swal-message', $this->inline($type, $title, $text));
    }
589434
public function addXmlAcceptanceCertificateSellerTitles(\AgentSIB\Diadoc\Api\Proto\Events\XmlDocumentAttachment $value)
    {
        if ($this->XmlAcceptanceCertificateSellerTitles === null) {
            $this->XmlAcceptanceCertificateSellerTitles = new \Protobuf\MessageCollection();
        }

        $this->XmlAcceptanceCertificateSellerTitles->add($value);
    }