Skip to content

Commit

Permalink
Merge pull request #7760 from cakephp/4.x-plugin-name-docs
Browse files Browse the repository at this point in the history
Fix docs about plugin class name
  • Loading branch information
ADmad authored Nov 2, 2023
2 parents 4ff067d + 6691dc4 commit c7131d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions en/plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Loading a Plugin
================

If you want to use a plugin's routes, console commands, middlewares, event
listeners, templates or webroot assets you will need to load the plugin.
listeners, templates or webroot assets you will need to load the plugin.
Plugins are loaded in your application's ``bootstrap()`` function::

// In src/Application.php
Expand Down Expand Up @@ -291,7 +291,7 @@ Plugin Objects

Plugin Objects allow a plugin author to define set-up logic, define default
hooks, load routes, middleware and console commands. Plugin objects live in
**src/Plugin.php**. For our ContactManager plugin, our plugin class could look
**src/{PluginName}Plugin.php**. For our ContactManager plugin, our plugin class could look
like::

namespace ContactManager;
Expand Down

0 comments on commit c7131d3

Please sign in to comment.