public function activate()
    {
        $this->isActive            = true;
        $this->attributes['class'] = Utils::addHtmlClass(
            array_get($this->attributes, 'class', ''),
            $this->activeClass
        );

        return $this;
    }
public function activate()
    {
        $this->isActive            = true;
        $this->attributes['class'] = Utils::addHtmlClass(
            array_get($this->attributes, 'class', ''),
            $this->activeClass
        );

        return $this;
    }
public function activate ( ) { $ this -> isActive = true ; $ this -> attributes [ 'class' ] = Utils :: addHtmlClass ( array_get ( $ this -> attributes , 'class' , '' ) , $ this -> activeClass ) ; return $ this ; }
Make the anchor active

@return static
Make the anchor active