public function submit($caption = null, array $options = [])
    {
        $options = $this->applyButtonClasses($options);

        return parent::submit($caption, $options);
    }
public function submit($caption = null, array $options = [])
    {
        $options = $this->applyButtonClasses($options);

        return parent::submit($caption, $options);
    }
public function submit ( $ caption = null , array $ options = [ ] ) { $ options = $ this -> applyButtonClasses ( $ options ) ; return parent :: submit ( $ caption , $ options ) ; }
Creates a submit button element.

Overrides parent method to add CSS class `btn`, to the element.

@param string $caption The label appearing on the button OR if string contains :// or the
extension .jpg, .jpe, .jpeg, .gif, .png use an image if the extension
exists, AND the first character is /, image is relative to webroot,
OR if the first character is not /, image is relative to webroot/img.
@param array $options Array of options. See above.
@return string A HTML submit button
@link http://book.cakephp.org/3.0/en/views/helpers/form.html#creating-buttons-and-submit-elements
Creates a submit button element .