public function times($times, callable $fn = null) { if ($fn === null) { return new FluidRepeater($this->document, $this->handler, $this, $times); } for ($i = 0; $i < $times; ++$i) { $this->callfn($fn, [$this, $i]); } return $this; }