pk-fr / yakpro-po

YAK Pro - Php Obfuscator
http://www.php-obfuscator.com
Other
1.24k stars 350 forks source link

ignore $this->class->functionName(); #88

Closed xguntis closed 3 years ago

xguntis commented 3 years ago

How to ignore functionName(s)? I need to ignore all that starts with $this->...

pk-fr commented 3 years ago

use $conf->t_ignore_methods = [ 'fn1','fn2',...] to put all the function names you want to ignore.

xguntis commented 3 years ago

does that mean i cant ignore all that begin with $this->myclass? i need to enter all function names one by one, correct?

pk-fr commented 3 years ago

yes... if all your functions have the same prefix or a few common prefixes you can use the $conf->t_ignore_methods_prefix array

xguntis commented 3 years ago

thanks for great tool and fast responses!