public function open()
    {
        $attributes = [
            'method' => $this->method,
            'action' => $this->url
        ];

        $attributes = array_merge($attributes, $this->attributes);

        return sprintf('<form%s>', $this->attributes($attributes));
    }
public function open()
    {
        $attributes = [
            'method' => $this->method,
            'action' => $this->url
        ];

        $attributes = array_merge($attributes, $this->attributes);

        return sprintf('<form%s>', $this->attributes($attributes));
    }
public function open ( ) { $ attributes = [ 'method' => $ this -> method , 'action' => $ this -> url ] ; $ attributes = array_merge ( $ attributes , $ this -> attributes ) ; return sprintf ( '<form%s>' , $ this -> attributes ( $ attributes ) ) ; }
Open the form

@return string
Open the form