public setPointer ( string $stack, integer $pointer ) | ||
$stack | string | |
$pointer | integer |
public function setPointer($stack, $pointer)
{
$this->pointer = [$stack, $pointer];
}
/** * @param RouterRule $handler * @return RouterRule */ protected function addDefaultHandler(RouterRule $handler) { $this->anchors[$this->anchorsPointer] = $handler; $handler->setPointer('anchors', $this->anchorsPointer); $this->anchorsPointer++; return $handler; }