2010-10-07 15:16:56 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Bundle\WebServiceBundle\ServiceDefinition;
|
|
|
|
|
2010-10-08 14:24:42 +02:00
|
|
|
class Header
|
2010-10-07 15:16:56 +02:00
|
|
|
{
|
|
|
|
private $name;
|
|
|
|
private $type;
|
|
|
|
|
2010-10-08 14:24:42 +02:00
|
|
|
public function __construct($name = null, Type $type = null)
|
2010-10-07 15:16:56 +02:00
|
|
|
{
|
|
|
|
$this->setName($name);
|
|
|
|
$this->setType($type);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getName()
|
|
|
|
{
|
|
|
|
return $this->name;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setName($name)
|
|
|
|
{
|
|
|
|
$this->name = $name;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getType()
|
|
|
|
{
|
|
|
|
return $this->type;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setType($type)
|
|
|
|
{
|
|
|
|
$this->type = $type;
|
|
|
|
}
|
|
|
|
}
|