protected function _bind($closure, $name) { if (!is_callable($closure)) { throw new Exception("Error, invalid closure."); } return $closure->bindTo($this); }