src/View/Helper/Traits/MaterializeCssTrait.php
protected function _prepareBtn(Helper $helper, array $options, $button)
    {
        $options = $helper->addClass($options, 'waves-effect waves-light btn');
        if (!empty($button)) {
            $options = $helper->addClass($options, Str::trim((string) $button));
        }

        return $options;
    }
protected function _prepareBtn(Helper $helper, array $options, $button)
    {
        $options = $helper->addClass($options, 'waves-effect waves-light btn');
        if (!empty($button)) {
            $options = $helper->addClass($options, Str::trim((string) $button));
        }

        return $options;
    }
protected function _prepareBtn ( Helper $ helper , array $ options , $ button ) { $ options = $ helper -> addClass ( $ options , 'waves-effect waves-light btn' ) ; if ( ! empty ( $ button ) ) { $ options = $ helper -> addClass ( $ options , Str :: trim ( ( string ) $ button ) ) ; } return $ options ; }
Prepare form buttons.

@param   Helper $helper
@param   array $options
@param   string $button
@return  array
Prepare form buttons .