getCallback() public method

Get the attached callback name.
public getCallback ( ) : string | array
return string | array
Example #1
0
 /**
  * Get callback of the matched route
  *
  * @return string
  */
 public function getCallback()
 {
     return $this->route->getCallback();
 }