LazyRecord\Migration\Migration::getId PHP Метод

getId() публичный статический Метод

public static getId ( )
    public static function getId()
    {
        $name = get_called_class() ?: get_class($this);
        if (preg_match('#_(\\d+)$#', $name, $regs)) {
            return $regs[1];
        }
        // throw new Exception("Can't parse migration script ID from class name: " . $name);
    }