private function getMethodSignature($method)
    {
        $validMethod = isset($this->methods[$method])
            && is_array($this->methods[$method])
            && count($this->methods[$method]) >= 2;

        if ($validMethod) {
            return $this->methods[$method];
        }

        return null;
    }
private function getMethodSignature($method)
    {
        $validMethod = isset($this->methods[$method])
            && is_array($this->methods[$method])
            && count($this->methods[$method]) >= 2;

        if ($validMethod) {
            return $this->methods[$method];
        }

        return null;
    }
private function getMethodSignature ( $ method ) { $ validMethod = isset ( $ this -> methods [ $ method ] ) && is_array ( $ this -> methods [ $ method ] ) && count ( $ this -> methods [ $ method ] ) >= 2 ; if ( $ validMethod ) { return $ this -> methods [ $ method ] ; } return null ; }
Attempts to retrieve method signature from method definition.

@param  string  $method

@return array|null
Attempts to retrieve method signature from method definition .