public function getAttributes()
    {
        $emulated = [
            'params' => $this->params,
            'webroot' => $this->webroot,
            'base' => $this->base,
            'here' => $this->here
        ];

        return $this->attributes + $emulated;
    }
public function getAttributes()
    {
        $emulated = [
            'params' => $this->params,
            'webroot' => $this->webroot,
            'base' => $this->base,
            'here' => $this->here
        ];

        return $this->attributes + $emulated;
    }
public function getAttributes ( ) { $ emulated = [ 'params' => $ this -> params , 'webroot' => $ this -> webroot , 'base' => $ this -> base , 'here' => $ this -> here ] ; return $ this -> attributes + $ emulated ; }
Get all the attributes in the request.

This will include the params, webroot, base, and here attributes that CakePHP
provides.

@return array
Get all the attributes in the request .