Skip to content
Browse files

Allow Plugin::getCollection() to be used

Add this method to the public API of `Plugin` as it has some use cases
for plugin test case setup.

Refs #12682
  • Loading branch information...
markstory committed Oct 30, 2018
1 parent 3f46964 commit 837e629c8a588ed06b1dff1fb36a695b11062914
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/Core/Plugin.php
@@ -411,7 +411,9 @@ protected static function _includeFile($file, $ignoreMissing = false)
* Get the shared plugin collection.
* @internal
* This method should generally not be used during application
* runtime as plugins should be set during Application startup.
* @return \Cake\Core\PluginCollection
public static function getCollection()

0 comments on commit 837e629

Please sign in to comment.
You can’t perform that action at this time.