openstackid-resources/app/Repositories/Summit/DoctrineRSVPTemplateRepository.php
Sebastian Marcet d856c7ecc2 Updated Add/Update event endpoint to accept RSVP template id
now payload accepts as a new field
'rsvp_template_id' (integer)

Change-Id: Ifdfb4e55e8dd818c25c0732c9cbb14f662679c36
2018-02-27 12:46:24 -03:00

33 lines
1.1 KiB
PHP

<?php namespace App\Repositories\Summit;
/**
* 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\Summit\Events\RSVP\RSVPTemplate;
use App\Models\Foundation\Summit\Repositories\IRSVPTemplateRepository;
use App\Repositories\SilverStripeDoctrineRepository;
/**
* Class DoctrineRSVPTemplateRepository
* @package App\Repositories\Summit
*/
final class DoctrineRSVPTemplateRepository
extends SilverStripeDoctrineRepository
implements IRSVPTemplateRepository
{
/**
* @return string
*/
protected function getBaseEntity()
{
return RSVPTemplate::class;
}
}