protected function getPath($name, $path)
    {
        $timestamp = Carbon::now();

        if (in_array($timestamp, $this->usedTimestamps)) {
            $timestamp->addSecond();
        }
        $this->usedTimestamps[] = $timestamp;

        return $path . '/' . $timestamp->format('Y_m_d_His') . '_' . $this->getName($name) . '.php';
    }
protected function getPath($name, $path)
    {
        $timestamp = Carbon::now();

        if (in_array($timestamp, $this->usedTimestamps)) {
            $timestamp->addSecond();
        }
        $this->usedTimestamps[] = $timestamp;

        return $path . '/' . $timestamp->format('Y_m_d_His') . '_' . $this->getName($name) . '.php';
    }
protected function getPath ( $ name , $ path ) { $ timestamp = Carbon :: now ( ) ; if ( in_array ( $ timestamp , $ this -> usedTimestamps ) ) { $ timestamp -> addSecond ( ) ; } $ this -> usedTimestamps [ ] = $ timestamp ; return $ path . '/' . $ timestamp -> format ( 'Y_m_d_His' ) . '_' . $ this -> getName ( $ name ) . '.php' ; }
Constructs path to migration file in Laravel style.

@param $name
@param $path
@return string
Constructs path to migration file in Laravel style .