Created
December 22, 2017 10:24
-
-
Save Huholoman/6c07fa6abafc8a1a6adb84f35a16fa02 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SomeControl | |
{ | |
public onSomeEvent = null; | |
private function onFormSuccess() | |
{ | |
if(isCallable($this->onSomeEvent)) { | |
$this->onSomeEvent(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment