Browse Source

Merge pull request #12691 from cakephp/plugin-collection

3.next - Allow Plugin::getCollection() to be used
Mark Sch 7 years ago
parent
commit
7be6ce7884
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/Core/Plugin.php

+ 3 - 1
src/Core/Plugin.php

@@ -413,7 +413,9 @@ class Plugin
     /**
      * 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()