!method_exist in PHP Coding Help Posted September 10, 2020 So i have a magic method getSetting() which may not be neccessary available i tried the following and it doesnt seem to work if (!method_exists($settings, 'getSetting')) { // throw error }
!method_exist
in PHP Coding Help
Posted
So i have a magic method getSetting()
which may not be neccessary available
i tried the following and it doesnt seem to work