
* refactoring * adding missing relations - other_presentation_links ( string array) - languages ( int array) - travel_preferences ( string array) - areas_of_expertise ( string array) - organizational_roles ( int array) - other_organizational_rol ( field string) - active_involvements ( int array ) Change-Id: I5f1093a43035aa2d6eadb6eea16bde250fb3d6a7
33 lines
1.1 KiB
PHP
33 lines
1.1 KiB
PHP
<?php namespace App\Repositories\Main;
|
|
/**
|
|
* Copyright 2018 OpenStack Foundation
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
**/
|
|
use App\Models\Foundation\Main\Language;
|
|
use App\Models\Foundation\Main\Repositories\ILanguageRepository;
|
|
use App\Repositories\SilverStripeDoctrineRepository;
|
|
/**
|
|
* Class DoctrineLanguageRepository
|
|
* @package App\Repositories\Main
|
|
*/
|
|
final class DoctrineLanguageRepository
|
|
extends SilverStripeDoctrineRepository
|
|
implements ILanguageRepository
|
|
{
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
protected function getBaseEntity()
|
|
{
|
|
return Language::class;
|
|
}
|
|
} |