src/TranslatableBootForm.php
protected function methods(array $methods = null)
    {
        return is_null($methods)
            ? $this->methods
            : ($this->methods = $methods);
    }
protected function methods(array $methods = null)
    {
        return is_null($methods)
            ? $this->methods
            : ($this->methods = $methods);
    }
protected function methods ( array $ methods = null ) { return is_null ( $ methods ) ? $ this -> methods : ( $ this -> methods = $ methods ) ; }
Get or set the methods.

@param array|null $methods

@return array
Get or set the methods .