OTPHP\ParameterTrait::setLabel PHP Метод

setLabel() приватный Метод

private setLabel ( string $label )
$label string
    private function setLabel($label)
    {
        Assertion::string($label, 'Label must be a string.');
        Assertion::false($this->hasColon($label), 'Label must not contain a colon.');
        $this->label = $label;
    }