src/Extension/FluentExtension.php
public function getSourceLocale()
    {
        $sourceLocale = $this->owner->getField('SourceLocale');
        if ($sourceLocale) {
            return Locale::getByLocale($sourceLocale);
        }
        return Locale::getDefault();
    }
public function getSourceLocale()
    {
        $sourceLocale = $this->owner->getField('SourceLocale');
        if ($sourceLocale) {
            return Locale::getByLocale($sourceLocale);
        }
        return Locale::getDefault();
    }
public function getSourceLocale ( ) { $ sourceLocale = $ this -> owner -> getField ( 'SourceLocale' ) ; if ( $ sourceLocale ) { return Locale :: getByLocale ( $ sourceLocale ) ; } return Locale :: getDefault ( ) ; }
Returns the source locale that will display the content for this record

@return Locale|null
Returns the source locale that will display the content for this record