public function getMethodData(ReflectionMethod $method, $prefix)
    {
        $verb = $this->getVerb($name = $method->name);
        $uri = $this->addUriWildcards($plain = $this->getPlainUri($name, $prefix));
        return compact('verb', 'plain', 'uri');
    }
public function getMethodData(ReflectionMethod $method, $prefix)
    {
        $verb = $this->getVerb($name = $method->name);
        $uri = $this->addUriWildcards($plain = $this->getPlainUri($name, $prefix));
        return compact('verb', 'plain', 'uri');
    }
public function getMethodData ( ReflectionMethod $ method , $ prefix ) { $ verb = $ this -> getVerb ( $ name = $ method -> name ) ; $ uri = $ this -> addUriWildcards ( $ plain = $ this -> getPlainUri ( $ name , $ prefix ) ) ; return compact ( 'verb' , 'plain' , 'uri' ) ; }
Get the method data for a given method.

@param  \ReflectionMethod  $method
@param  string  $prefix
@return array
Get the method data for a given method .