Skip to content

Bug: initController not called in ResourceController #2404

Description

@aryaei2000

Describe the bug
When extending ResourceController in a new controller, the initController is not called as the constructor.

CodeIgniter 4 version
4.0.0-rc.2.1

Affected module(s)
CodeIgniter\RESTful\ResourceController

Expected behavior, and steps to reproduce if appropriate
initController is supposed to be called on the event of creation of a new instance of the class.

Context

  • OS: Windows 10
  • Web server Apache 2.4.39 (Wamp)
  • PHP version 7.2.18

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugVerified issues on the current code behavior or pull requests that will fix them

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions