- * @param array $vars Scope variables from the calling context (default: array())
- * @param object $boundObject Bound object ($this) value for the shell
+ * For the static equivalent, pass a class name as the `$bindTo` parameter.
+ * This makes `self` work in the shell, and sets up static scope so that
+ * private and protected static members are accessible:
+ *
+ * class Foo {
+ * static function bar() {
+ * \Psy\debug(get_defined_vars(), get_called_class());
+ * }
+ * }
+ *
+ * @param array $vars Scope variables from the calling context (default: array())
+ * @param object|string $bindTo Bound object ($this) or class (self) value for the shell