public function close($value)
	{
		if (!($value instanceof Closure))
		{
			$value = function($uri) use ($value)
			{
				if (is_callable($value))
				{
					return call_user_func_array($value, array($uri));
				}
				return $value;
			};
		}

		return $value;
	}
public function close($value)
	{
		if (!($value instanceof Closure))
		{
			$value = function($uri) use ($value)
			{
				if (is_callable($value))
				{
					return call_user_func_array($value, array($uri));
				}
				return $value;
			};
		}

		return $value;
	}
public function close ( $ value ) { if ( ! ( $ value instanceof Closure ) ) { $ value = function ( $ uri ) use ( $ value ) { if ( is_callable ( $ value ) ) { return call_user_func_array ( $ value , array ( $ uri ) ) ; } return $ value ; } ; } return $ value ; }
Wrap value in a Closure

@param   mixed   $value
@return  object
Wrap value in a Closure