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\Utils\filter\stanza;
use Kadet\Xmpp\Utils\filter\element;
function id($id) {
return element\attribute('id', $id);
}
function type($type) {
return element\attribute('type', $type);