You appear to be a bot. Output may be restricted
Description
Usage
_test_filter_build_unique_id( $tag, $function, $priority );
Parameters
- $tag
- ( mixed ) required –
- $function
- ( mixed ) required –
- $priority
- ( mixed ) required –
Returns
void
Source
File name: oik-batch/tests/functions.php
Lines:
1 to 18 of 18
function _test_filter_build_unique_id($tag, $function, $priority) { if ( is_string($function) ) return $function; if ( is_object($function) ) { // Closures are currently implemented as objects $function = array( $function, '' ); } else { $function = (array) $function; } if (is_object($function[0]) ) { return spl_object_hash($function[0]) . $function[1]; } else if ( is_string($function[0]) ) { // Static Calling return $function[0].$function[1]; } }