Webiny\Component\TemplateEngine\Plugin::getCallbackFunction PHP Method

getCallbackFunction() public method

Get the callable function.
public getCallbackFunction ( ) : callable | string
return callable | string Plugin callable function.
    public function getCallbackFunction()
    {
        return $this->callbackFunction;
    }

Usage Example

Example #1
0
 /**
  * @dataProvider dataProvider
  */
 public function testGetCallbackFunction(Plugin $p)
 {
     $this->assertSame('self::callback', $p->getCallbackFunction());
 }
All Usage Examples Of Webiny\Component\TemplateEngine\Plugin::getCallbackFunction