Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function pad(int $size, $value) : CollectionInterface
 {
     $this->validate($this->type, [$value]);
     return new self($this->type, parent::pad($size, $value)->toPrimitive());
 }