The bundle is back!

The definition of service has changed, read the README.
This commit is contained in:
Francis Besset
2011-07-17 10:46:54 +02:00
parent 81118f8d47
commit 1c608ccf20
48 changed files with 641 additions and 535 deletions

View File

@ -11,11 +11,13 @@
namespace Bundle\WebServiceBundle\Util;
/**
*
* @author Christian Kerl <christian-kerl@web.de>
*/
class QName
{
private $namespace;
private $name;
public static function fromPackedQName($qname)
{
Assert::thatArgument('qname', preg_match('/^\{(.+)\}(.+)$/', $qname, $matches));
@ -23,9 +25,6 @@ class QName
return new self($matches[1], $matches[2]);
}
private $namespace;
private $name;
public function __construct($namespace, $name)
{
$this->namespace = $namespace;