예제 #1
0
파일: ObjectType.php 프로젝트: stof/jane
 public function __construct($object, $className, $discriminants = array())
 {
     parent::__construct($object, 'object');
     $this->className = $className;
     $this->discriminants = $discriminants;
 }
예제 #2
0
파일: MultipleType.php 프로젝트: stof/jane
 public function __construct($object, array $types = array())
 {
     parent::__construct($object, 'mixed');
     $this->types = $types;
 }
예제 #3
0
파일: ArrayType.php 프로젝트: stof/jane
 public function __construct($object, Type $itemType, $type = 'array')
 {
     parent::__construct($object, $type);
     $this->itemType = $itemType;
 }