for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Goetas\XML\XSDReader\Schema\Type;
use Goetas\XML\XSDReader\Schema\Inheritance\Restriction;
class SimpleType extends Type
{
/**
*
* @var Restriction
*/
protected $restriction;
* @var SimpleType[]
protected $unions = array();
* @var SimpleType
protected $list;
* @return Restriction
public function getRestriction()
return $this->restriction;
}
public function setRestriction(Restriction $restriction)
$this->restriction = $restriction;
return $this;
public function addUnion(SimpleType $type)
$this->unions[] = $type;
public function getUnions()
return $this->unions;
* @return SimpleType
public function getList()
return $this->list;
public function setList(SimpleType $list)
$this->list = $list;