Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Use Component::beforeFilter() instead of initialize() #169

Merged
merged 2 commits into from
Oct 17, 2014

Conversation

dakota
Copy link

@dakota dakota commented Oct 13, 2014

Component::initialize() has been updated in CakePHP 3 to match other initialize() methods.
As per cakephp/cakephp#4823

Component::Initialize has moved to earlier in the bootstrap process in order to match other objects.
See cakephp/cakephp#4823
@dakota dakota changed the title Use Component::initialize() instead of overriding constructor. Use Component::beforeFilter() instead of initialize() Oct 13, 2014
deizel pushed a commit that referenced this pull request Oct 17, 2014
Use Component::beforeFilter() instead of initialize() (closes #168)
@deizel deizel merged commit e5dc521 into CakeDC:3.0 Oct 17, 2014
@deizel
Copy link
Contributor

deizel commented Oct 17, 2014

Thanks 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants