for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Nucleus - XMPP Library for PHP
*
* Copyright (C) 2016, Some rights reserved.
* @author Kacper "Kadet" Donat <[email protected]>
* Contact with author:
* Xmpp: [email protected]
* E-mail: [email protected]
* From Kadet with love.
*/
namespace Kadet\Xmpp\Stream;
use Kadet\Xmpp\Xml\XmlElement;
class Stream extends XmlElement
{
* XmlElement constructor
* @param array $options {
* @var mixed $content Content of element
* @var array $attributes Element attributes
* }
public function __construct(array $options)
parent::__construct('stream:stream', 'http://etherx.jabber.org/streams', $options);
}
public function setInnerXml($value)
return false;
public function setContent($value)
* Appends child to element
* @param XmlElement|string $element
* @return XmlElement|string Same as $element
public function appendChild($element)
if ($element instanceof XmlElement) {
$element->parent = $this;