Skip to content
Snippets Groups Projects
Commit 06214b90 authored by Grzegorz Rola's avatar Grzegorz Rola
Browse files

added method to interface: get_hookable_instance_by_class_name

parent 193b8fcd
No related branches found
No related tags found
1 merge request!15added method: get_hookable_instance_by_class_name
Pipeline #7567 failed
......@@ -11,5 +11,14 @@ interface HookableCollection extends Hookable {
*/
public function add_hookable( Hookable $hookable_object );
/**
* Get hookable instance.
*
* @param string $class_name Class name.
*
* @return false|Hookable
*/
public function get_hookable_instance_by_class_name( $class_name );
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment