Created
December 22, 2017 10:24
-
-
Save Huholoman/f782906e19937b536d083cbf58a388fd 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