Add the value to the info-property

@param \SAML2\XML\Chunk|\SAML2\XML\ds\KeyName|\SAML2\XML\ds\X509Data $info
@throws \Exception
@return void
509162
public function addInfo($info) : void
    {
        Assert::isInstanceOfAny(
            $info,
            [Chunk::class, KeyName::class, X509Data::class],
            'KeyInfo can only contain instances of KeyName, X509Data or Chunk.'
        );
        $this->info[] = $info;
    }
328348
public function add($name, $value)
    {
        $this->requireNames();
        $value = $this->normalizeValue($value);
        
        $lower = strtolower($name);
        if(array_key_exists($lower, $this->names)) {
            $name = $this->names[$lower];
            foreach($value as $line) {
                $this->headers[$name][] = $line;
            }
        }else{
            $this->setHeader($name, $value);
        }
    }
603987
public function addExtraInfo($name, $value)
    {
        if (method_exists($this->handler, 'addDataTable')) {
            $data = $this->handler->getDataTable();
            $this->handler->addDataTable('Info #' . (count($data) + 1), array($name => $value));
        }
    }
955949
public function setValue($value)
  {
    if (is_null($value)) {
      $this->value = null;
    } else if (is_bool($value)) {
      $this->value = $value;
    } else if (is_numeric($value)) {
      if ($value == 0) {
        $this->value = false;
      } else{
        $this->value = true;
      }
    } else if ($value == '') {
      $this->value = null;
    } else{
      throw new \Exception(sprintf('Valeur %s non appliquable a un composant de type Boolean', $value));
    }
  }
1150626
function addInfo( $label, $value = 0 )
    {
        // this will only work if the label is one of the valid ones.
        // modify this so that arrays can be passed as well.
        // if $label is an array then assume that it is key=>value pairs
        // else assume that they are both scalar, anything else will probably error
        if ( is_array( $label ) )
        {
            foreach ( $label as $l => $v )
            {
                $this->o_info( $this->infoObject, $l, $v );
            }
        }
        else
        {
            $this->o_info( $this->infoObject, $label, $value );
        }
    }
1248134
public function add_info($label, $value)
    {
        $canvas = $this->getCanvas();
        if (!is_null($canvas)) {
            $canvas->add_info($label, $value);
        }
    }
789466
public function addAppData(string $key, $value = null): void
    {
        $this->_additionalAppData[$key] = $value;
    }
1222479
public function add(ContentTypeCreationInformation $information)
    {
        $contentType = new ContentType($this->getContext());
        $qry = new InvokePostMethodQuery($this->getResourcePath(),null,null,$information);
        $this->getContext()->addQuery($qry,$contentType);
        $this->addChild($contentType);
        return $contentType;
    }
330919
protected function includePathInfo(Infoset $info) {
		$list = $this->createList();
		$list->setTitle('Include path');
		
		$include = explode(PATH_SEPARATOR, get_include_path());
		
		foreach ($include as $path) {
			$list[] = $path;
		}
		
		$info[] = $list;
	}
82447
protected function collectData(Infoset $info, array $source, $title) {
		$infoTable = $this->createTable();
		$infoTable->setTitle($title);
		
		foreach ($source as $name => $value) {
			if (is_array($value)) {
				foreach ($value as $key => $val) {
					if (strlen($val) > 1024) {
						$val = substr($val, 0, 1024) . '...';
					}
					
					$infoTable[] = [$name . '[' . $key . ']:', $val];
				}
				
				continue;
			}
			
			if (strlen($value) > 1024) {
				$value = substr($value, 0, 1024) . '...';
			}
			
			$infoTable[] = [$name . ':', $value];
		}
		
		$info[] = $infoTable;
	}
178249
public function setInfo($data=array()) {
        if(isset($data['data'])) $this->info['data'] = $data['data'];
        if(isset($data['status'])) $this->info['status'] = $data['status'];
        if(isset($data['msg'])) $this->info['msg'] = $data['msg'];

    }
1290848
public function addValue(string $key, string $value) : void
    {
        $this->map[$key] = $value;
    }
278260
public function setInfo($string) {
    $this->info = $string;
    $this->message = sprintf($this->newMessage,
                             $this->item, $this->info, $this->dependency);
  }
1002181
public function addHint($hint)
    {
        if (!$this->containsHints) {
            $this->message .= "\nHint: ".$hint;
            $this->containsHints = true;
        } else {
            $this->message .= ', '.$hint;
        }
    }
1042461
private function addToData(array $representation): void
    {
        if ($this->isDataAnArray() === true) {
            $this->data[DocumentInterface::KEYWORD_DATA][] = $representation;

            return;
        }

        // check data has not been added yet
        \assert(\array_key_exists(DocumentInterface::KEYWORD_DATA, $this->data) === false);
        $this->data[DocumentInterface::KEYWORD_DATA] = $representation;
    }
1241395
public void setInfo(String info) {

        m_info = info;
        if (LOG.isDebugEnabled()) {
            LOG.debug(Messages.get().getBundle().key(Messages.LOG_SET_INFO_1, info));
        }
    }
899454
public synchronized void addAdditionalInfo(int infoType, byte[] info)
	{
		if (infoType < 0 || infoType >= ADDINFO_ESC)
			throw new KNXIllegalArgumentException("info type out of range [0..254]");
		if (!checkAddInfoLength(infoType, info.length))
			throw new KNXIllegalArgumentException("wrong info data length, expected "
				+ ADDINFO_LENGTHS[infoType] + " bytes");
		putAddInfo(infoType, info);
	}