Skip to content

Commit

Permalink
Fix missing deprecation docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Jan 10, 2019
1 parent 63be338 commit 8851207
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/Core/Plugin.php
Expand Up @@ -108,7 +108,7 @@ class Plugin
* @param array $config configuration options for the plugin
* @throws \Cake\Core\Exception\MissingPluginException if the folder for the plugin to be loaded is not found
* @return void
* @deprecated 3.7 This method will be removed in 4.0.0. Use Application::addPlugin() instead.
* @deprecated 3.7.0 This method will be removed in 4.0.0. Use Application::addPlugin() instead.
*/
public static function load($plugin, array $config = [])
{
Expand Down Expand Up @@ -195,7 +195,7 @@ public static function load($plugin, array $config = [])
* @param array $options Options.
* @return void
* @throws \Cake\Core\Exception\MissingPluginException
* @deprecated 3.7 This method will be removed in 4.0.0.
* @deprecated 3.7.0 This method will be removed in 4.0.0.
*/
public static function loadAll(array $options = [])
{
Expand Down Expand Up @@ -277,7 +277,7 @@ public static function configPath($name)
* @param string $name name of the plugin
* @return mixed
* @see \Cake\Core\Plugin::load() for examples of bootstrap configuration
* @deprecated 3.7 This method will be removed in 4.0.0.
* @deprecated 3.7.0 This method will be removed in 4.0.0.
*/
public static function bootstrap($name)
{
Expand Down Expand Up @@ -341,6 +341,7 @@ public static function routes($name = null)
*
* @param string $plugin The name of the plugin to check.
* @return bool
* @since 3.7.0
*/
public static function isLoaded($plugin)
{
Expand All @@ -357,6 +358,7 @@ public static function isLoaded($plugin)
* @param string|null $plugin Plugin name.
* @return bool|array Boolean true if $plugin is already loaded.
* If $plugin is null, returns a list of plugins that have been loaded
* @deprecated 3.7.0 This method will be removed in 4.0.0. Use Plugin::isLoaded() instead.
*/
public static function loaded($plugin = null)
{
Expand All @@ -381,7 +383,7 @@ public static function loaded($plugin = null)
* Forgets a loaded plugin or all of them if first parameter is null
*
* @param string|null $plugin name of the plugin to forget
* @deprecated 3.7 This method will be removed in 4.0.0. Use PluginCollection::remove() or clear() instead.
* @deprecated 3.7.0 This method will be removed in 4.0.0. Use PluginCollection::remove() or clear() instead.
* @return void
*/
public static function unload($plugin = null)
Expand Down

0 comments on commit 8851207

Please sign in to comment.