for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Goetas\XML\XSDReader\Schema;
use Goetas\XML\XSDReader\Schema\Type\Type;
use Goetas\XML\XSDReader\Schema\Schema;
use Goetas\XML\XSDReader\Schema\SchemaItem;
abstract class Item implements SchemaItem
{
protected $doc;
protected $schema;
protected $name;
protected $type;
public function __construct(Schema $schema, $name)
$this->schema = $schema;
$this->name = $name;
}
public function getName()
return $this->name;
public function setName($name)
return $this;
/**
*
* @return Type
*/
public function getType()
return $this->type;
public function setType(Type $type)
$this->type = $type;
public function getDoc()
return $this->doc;
public function setDoc($doc)
$this->doc = $doc;
public function getSchema()
return $this->schema;