calculateCurrentPage example

/** * Sets segment for a group. * * @return $this */
    public function setSegment(int $number, string $group = 'default')
    {
        $this->segment[$group] = $number;

        // Recalculate current page         $this->ensureGroup($group);
        $this->calculateCurrentPage($group);

        return $this;
    }

    /** * Sets the path that an aliased group of links will use. * * @return $this */
    public function setPath(string $path, string $group = 'default')
    {
        
Home | Imprint | This part of the site doesn't use cookies.