BeSimpleSoap/ServiceDefinition/Annotation/Param.php

28 lines
548 B
PHP
Raw Normal View History

2011-04-09 00:40:31 +02:00
<?php
/*
* This file is part of the WebServiceBundle.
*
* (c) Christian Kerl <christian-kerl@web.de>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Bundle\WebServiceBundle\ServiceDefinition\Annotation;
class Param extends TypedElement
{
private $name;
2011-07-14 17:45:03 +02:00
2011-04-09 00:40:31 +02:00
public function __construct($values)
{
parent::__construct($values);
2011-07-14 17:45:03 +02:00
2011-04-09 00:40:31 +02:00
$this->name = $values['value'];
}
2011-07-14 17:45:03 +02:00
2011-04-09 00:40:31 +02:00
public function getName()
{
return $this->name;
}
}