public function customFunc(\Closure $function, $getClone = false) { if (is_callable($function)) { $this->log('--> Function start'); $function($this); } return $this->_modifer($this->_value, '<-- Function finished', $getClone); }