src/Concerns/HasAttributes.php
public function getAuthMethod($key)
    {
        if (array_has($this->getAuths(), $key)) {
            $method = 'auth'.studly_case(array_get($this->getAuths(), $key));

            return method_exists($this, $method) ? $method : false;
        }

        return false;
    }
public function getAuthMethod($key)
    {
        if (array_has($this->getAuths(), $key)) {
            $method = 'auth'.studly_case(array_get($this->getAuths(), $key));

            return method_exists($this, $method) ? $method : false;
        }

        return false;
    }
public function getAuthMethod ( $ key ) { if ( array_has ( $ this -> getAuths ( ) , $ key ) ) { $ method = 'auth' . studly_case ( array_get ( $ this -> getAuths ( ) , $ key ) ) ; return method_exists ( $ this , $ method ) ? $ method : false ; } return false ; }
Get auth method.

@param string $key

@return string|array
Get auth method .