src/Task/ConvertTranslatableTask.php
protected function checkInstalled()
    {
        // Assert that fluent is configured
        $locales = Locale::getLocales();
        if (empty($locales)) {
            throw new Exception("Please configure Fluent locales (in the CMS) prior to migrating from translatable");
        }

        $defaultLocale = Locale::getDefault();
        if (empty($defaultLocale)) {
            throw new Exception(
                "Please configure a Fluent default locale (in the CMS) prior to migrating from translatable"
            );
        }
    }
protected function checkInstalled()
    {
        // Assert that fluent is configured
        $locales = Locale::getLocales();
        if (empty($locales)) {
            throw new Exception("Please configure Fluent locales (in the CMS) prior to migrating from translatable");
        }

        $defaultLocale = Locale::getDefault();
        if (empty($defaultLocale)) {
            throw new Exception(
                "Please configure a Fluent default locale (in the CMS) prior to migrating from translatable"
            );
        }
    }
protected function checkInstalled ( ) { // Assert that fluent is configured $ locales = Locale :: getLocales ( ) ; if ( empty ( $ locales ) ) { throw new Exception ( "Please configure Fluent locales (in the CMS) prior to migrating from translatable" ) ; } $ defaultLocale = Locale :: getDefault ( ) ; if ( empty ( $ defaultLocale ) ) { throw new Exception ( "Please configure a Fluent default locale (in the CMS) prior to migrating from translatable" ) ; } }
Checks that fluent is configured correctly

@throws ConvertTranslatableTask\Exception
Checks that fluent is configured correctly