public static function getByTitle($title): Sources
    {
        $sourceData = self::findFirstByTitle($title);

        if (!$sourceData) {
            throw new \Exception(_('Importing site is not currently supported.'));
        }

        return $sourceData;
    }
public static function getByTitle($title): Sources
    {
        $sourceData = self::findFirstByTitle($title);

        if (!$sourceData) {
            throw new \Exception(_('Importing site is not currently supported.'));
        }

        return $sourceData;
    }
public static function getByTitle ( $ title ) : Sources { $ sourceData = self :: findFirstByTitle ( $ title ) ; if ( ! $ sourceData ) { throw new \ Exception ( _ ( 'Importing site is not currently supported.' ) ) ; } return $ sourceData ; }
Get a source by its title
Get a source by its title