src/Console/MakeRoute.php
protected function createTmpFileWithMethod($controllerMethod)
    {
        $temp = tmpfile();
        fwrite($temp, $this->getMethodCode($controllerMethod));
        return $temp;
    }
protected function createTmpFileWithMethod($controllerMethod)
    {
        $temp = tmpfile();
        fwrite($temp, $this->getMethodCode($controllerMethod));
        return $temp;
    }
protected function createTmpFileWithMethod ( $ controllerMethod ) { $ temp = tmpfile ( ) ; fwrite ( $ temp , $ this -> getMethodCode ( $ controllerMethod ) ) ; return $ temp ; }
Crete tmp file with route to add.

@param $controllerMethod
@return mixed
Crete tmp file with route to add .