src/Migrator.php
protected function constructFileName($name)
    {
        list($usec, $sec) = explode(' ', microtime());

        $usec = substr($usec, 2, 6);

        return date('Y_m_d_His', $sec).'_'.$usec.'_'.$name;
    }
protected function constructFileName($name)
    {
        list($usec, $sec) = explode(' ', microtime());

        $usec = substr($usec, 2, 6);

        return date('Y_m_d_His', $sec).'_'.$usec.'_'.$name;
    }
protected function constructFileName ( $ name ) { list ( $ usec , $ sec ) = explode ( ' ' , microtime ( ) ) ; $ usec = substr ( $ usec , 2 , 6 ) ; return date ( 'Y_m_d_His' , $ sec ) . '_' . $ usec . '_' . $ name ; }
Construct migration file name from migration name and current time.

@param string $name

@return string
Construct migration file name from migration name and current time .