You are here

static function xautoload_Util::identity in X Autoload 7.3

Returns the argument. This can be useful to pass around as a callback.

Parameters

mixed $arg: The argument.

Return value

mixed The argument, returned.

File

lib/Util.php, line 46

Class

xautoload_Util
A number of static methods that don't interact with any global state.

Code

static function identity($arg) {
  return $arg;
}