PHP : 클래스 함수를 콜백으로 사용하는 방법 이 질문에 이미 답변이 있습니다. PHP에서 클래스 메소드를 어떻게 동적으로 호출합니까? 9 답변 콜백으로 사용하려는 메서드가있는 클래스가 있습니다. 인수로 전달하는 방법? Class MyClass { public function myMethod() { $this->processSomething(this->myCallback); // How it must be called ? $this->processSomething(self::myStaticCallback); // How it must be called ? } private function processSomething(callable $callback) { // process something... $..