protected function getMethodFromAttributes($attrs)
    {
        if (!is_array($attrs) || !isset($attrs['method'])) {
            return $this->getEventFromAttributes($attrs);
        }

        return $attrs['method'];
    }
protected function getMethodFromAttributes($attrs)
    {
        if (!is_array($attrs) || !isset($attrs['method'])) {
            return $this->getEventFromAttributes($attrs);
        }

        return $attrs['method'];
    }
protected function getMethodFromAttributes ( $ attrs ) { if ( ! is_array ( $ attrs ) || ! isset ( $ attrs [ 'method' ] ) ) { return $ this -> getEventFromAttributes ( $ attrs ) ; } return $ attrs [ 'method' ] ; }
Returns the event method from the tag attributes.

@param mixed $attrs tag attributes

@return string event method
Returns the event method from the tag attributes .