-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #226 from cakephp/3.x-scope-params
3.x: add ability to add multiple optional parameters to table scopes
- Loading branch information
Showing
10 changed files
with
122 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
3.0 Migration Guide | ||
################### | ||
|
||
Authorization 3.0 contains new features and a few breaking changes. | ||
|
||
Breaking Changes | ||
================ | ||
|
||
The following interfaces now have appropriate parameter and return types added: | ||
|
||
- ``AuthorizationServiceInterface`` | ||
- ``IdentityInterface`` | ||
- ``BeforePolicyInterface`` | ||
- ``RequestPolicyInterface.php`` | ||
- ``ResolverInterface`` | ||
|
||
Multiple optional arguments for ``applyScope`` | ||
---------------------------------------------- | ||
|
||
``IdentityInterface::applyScope`` as well as ``AuthorizationServiceInterface::applyScope`` | ||
allow multiple optional arguments to be added. | ||
|
||
Removed methods | ||
--------------- | ||
|
||
- ``AuthorizationService::resultTypeCheck`` - has been replaced with an ``assert()`` call | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters