1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-13 17:57:37 +01:00
psalm/src/Psalm/Plugin/RegistrationInterface.php
Bruce Weirdan a338e76ef6 Plugin interface segregation (#1076)
* Split Plugin into PluginApi\Hook\* interfaces

* dropped Psalm\Plugin

* updated docs

* s/PluginApi/Plugin/g
2018-11-12 11:20:59 -05:00

14 lines
241 B
PHP

<?php
namespace Psalm\Plugin;
interface RegistrationInterface
{
/** @return void */
public function addStubFile(string $file_name);
/**
* @return void
*/
public function registerHooksFromClass(string $handler);
}