示例#1
0
 /**
  * @inheritdoc
  * @return self
  */
 public function flatten()
 {
     return __CONTRACT__::contentIsA(static::rootType(), $this->value);
 }
示例#2
0
 /**
  * @inheritdoc
  * @return Exclusive
  */
 public function flatten()
 {
     return __CONTRACT__::contentIsA(Exclusive::class, $this->value);
 }
示例#3
0
文件: Pot.php 项目: rkgladson/PHPixme
 /**
  * @return self
  * @throws \UnexpectedValueException if the data-set could not be flattened
  */
 public function flatten()
 {
     return __CONTRACT__::contentIsA(self::class, $this->contents);
 }