Webiny\Component\Router\Route\Route::getCallback PHP Méthode

getCallback() public méthode

Get the attached callback name.
public getCallback ( ) : string | array
Résultat string | array
    public function getCallback()
    {
        return $this->callback;
    }

Usage Example

Exemple #1
0
 /**
  * Get callback of the matched route
  *
  * @return string
  */
 public function getCallback()
 {
     return $this->route->getCallback();
 }