2015-03-03 17:18:17 +01:00
|
|
|
<?php
|
|
|
|
|
2016-07-19 20:28:11 +02:00
|
|
|
namespace Tests\PHPCensor\Plugin\Util\Fake;
|
2015-03-03 17:18:17 +01:00
|
|
|
|
2016-07-19 20:28:11 +02:00
|
|
|
use PHPCensor\Plugin;
|
2015-03-03 17:18:17 +01:00
|
|
|
|
2017-01-06 05:14:45 +01:00
|
|
|
class ExamplePluginWithSingleOptionalArg extends Plugin
|
2015-03-03 17:18:17 +01:00
|
|
|
{
|
2017-01-11 16:15:54 +01:00
|
|
|
/**
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public static function pluginName()
|
|
|
|
{
|
|
|
|
return 'example_plugin_with_single_optional_arg';
|
|
|
|
}
|
|
|
|
|
2015-03-03 17:18:17 +01:00
|
|
|
function __construct($optional = null)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public function execute()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|