Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/flow-flo.../libs/cakephp/core
File: PluginApplicationInterface.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
[2] Fix | Delete
* Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
[3] Fix | Delete
*
[4] Fix | Delete
* Licensed under The MIT License
[5] Fix | Delete
* For full copyright and license information, please see the LICENSE.txt
[6] Fix | Delete
* Redistributions of files must retain the above copyright notice.
[7] Fix | Delete
*
[8] Fix | Delete
* @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
[9] Fix | Delete
* @link https://cakephp.org CakePHP(tm) Project
[10] Fix | Delete
* @since 3.6.0
[11] Fix | Delete
* @license https://opensource.org/licenses/mit-license.php MIT License
[12] Fix | Delete
*/
[13] Fix | Delete
namespace Cake\Core;
[14] Fix | Delete
[15] Fix | Delete
use Cake\Event\EventDispatcherInterface;
[16] Fix | Delete
[17] Fix | Delete
/**
[18] Fix | Delete
* Interface for Applications that leverage plugins & events.
[19] Fix | Delete
*
[20] Fix | Delete
* Events can be bound to the application event manager during
[21] Fix | Delete
* the application's bootstrap and plugin bootstrap.
[22] Fix | Delete
*/
[23] Fix | Delete
interface PluginApplicationInterface extends EventDispatcherInterface
[24] Fix | Delete
{
[25] Fix | Delete
/**
[26] Fix | Delete
* Add a plugin to the loaded plugin set.
[27] Fix | Delete
*
[28] Fix | Delete
* If the named plugin does not exist, or does not define a Plugin class, an
[29] Fix | Delete
* instance of `Cake\Core\BasePlugin` will be used. This generated class will have
[30] Fix | Delete
* all plugin hooks enabled.
[31] Fix | Delete
*
[32] Fix | Delete
* @param string|\Cake\Core\PluginInterface $name The plugin name or plugin object.
[33] Fix | Delete
* @param array $config The configuration data for the plugin if using a string for $name
[34] Fix | Delete
* @return $this
[35] Fix | Delete
*/
[36] Fix | Delete
public function addPlugin($name, array $config = []);
[37] Fix | Delete
[38] Fix | Delete
/**
[39] Fix | Delete
* Run bootstrap logic for loaded plugins.
[40] Fix | Delete
*
[41] Fix | Delete
* @return void
[42] Fix | Delete
*/
[43] Fix | Delete
public function pluginBootstrap();
[44] Fix | Delete
[45] Fix | Delete
/**
[46] Fix | Delete
* Run routes hooks for loaded plugins
[47] Fix | Delete
*
[48] Fix | Delete
* @param \Cake\Routing\RouteBuilder $routes The route builder to use.
[49] Fix | Delete
* @return \Cake\Routing\RouteBuilder
[50] Fix | Delete
*/
[51] Fix | Delete
public function pluginRoutes($routes);
[52] Fix | Delete
[53] Fix | Delete
/**
[54] Fix | Delete
* Run middleware hooks for plugins
[55] Fix | Delete
*
[56] Fix | Delete
* @param \Cake\Http\MiddlewareQueue $middleware The MiddlewareQueue to use.
[57] Fix | Delete
* @return \Cake\Http\MiddlewareQueue
[58] Fix | Delete
*/
[59] Fix | Delete
public function pluginMiddleware($middleware);
[60] Fix | Delete
[61] Fix | Delete
/**
[62] Fix | Delete
* Run console hooks for plugins
[63] Fix | Delete
*
[64] Fix | Delete
* @param \Cake\Console\CommandCollection $commands The CommandCollection to use.
[65] Fix | Delete
* @return \Cake\Console\CommandCollection
[66] Fix | Delete
*/
[67] Fix | Delete
public function pluginConsole($commands);
[68] Fix | Delete
}
[69] Fix | Delete
[70] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function