protected function normalizeCallback($callback)
	{
		// Normalize ['foo', 'bar'] to 'foo::bar'
		if (is_array($callback) && is_string($callback[0]))
		{
			$callback = $callback[0] . '::' . $callback[1];
		}

		// Normalize '\\foo' to 'foo' and '\\foo::bar' to 'foo::bar'
		if (is_string($callback))
		{
			$callback = ltrim($callback, '\\');
		}

		return $callback;
	}
protected function normalizeCallback($callback)
	{
		// Normalize ['foo', 'bar'] to 'foo::bar'
		if (is_array($callback) && is_string($callback[0]))
		{
			$callback = $callback[0] . '::' . $callback[1];
		}

		// Normalize '\\foo' to 'foo' and '\\foo::bar' to 'foo::bar'
		if (is_string($callback))
		{
			$callback = ltrim($callback, '\\');
		}

		return $callback;
	}
protected function normalizeCallback ( $ callback ) { // Normalize ['foo', 'bar'] to 'foo::bar' if ( is_array ( $ callback ) && is_string ( $ callback [ 0 ] ) ) { $ callback = $ callback [ 0 ] . '::' . $ callback [ 1 ] ; } // Normalize '\\foo' to 'foo' and '\\foo::bar' to 'foo::bar' if ( is_string ( $ callback ) ) { $ callback = ltrim ( $ callback , '\\' ) ; } return $ callback ; }
Normalize a callback's representation

@param  callable $callback
@return callable
Normalize a callback s representation