protected function getUserMethods()
    {
        if (empty($this->userMethods)) {
            $users = $this->getUserRepository();

            $methods = get_class_methods($users);

            $this->userMethods = array_diff($methods, ['__construct']);
        }

        return $this->userMethods;
    }
protected function getUserMethods()
    {
        if (empty($this->userMethods)) {
            $users = $this->getUserRepository();

            $methods = get_class_methods($users);

            $this->userMethods = array_diff($methods, ['__construct']);
        }

        return $this->userMethods;
    }
protected function getUserMethods ( ) { if ( empty ( $ this -> userMethods ) ) { $ users = $ this -> getUserRepository ( ) ; $ methods = get_class_methods ( $ users ) ; $ this -> userMethods = array_diff ( $ methods , [ '__construct' ] ) ; } return $ this -> userMethods ; }
Returns all accessible methods on the associated user repository.

@return array
Returns all accessible methods on the associated user repository .