Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
digitalascetic/google-api-client / Service / IGoogleApiEventsService.php
Size: Mime:
<?php
/**
 * Created by PhpStorm.
 * User: eduarddezacastellano
 * Date: 02/10/2018
 * Time: 15:52
 */

namespace DigitalAscetic\GoogleApiClientBundle\Service;


use DigitalAscetic\GoogleApiClientBundle\Entity\IGoogleApiCalendarEvent;
use DigitalAscetic\GoogleApiClientBundle\Entity\IGoogleApiUser;

interface IGoogleApiEventsService
{
    /**
     * @param IGoogleApiUser $user
     * @return IGoogleApiCalendarEvent[]
     */
    public function getEventsByUser(IGoogleApiUser $user): array;


    /**
     * @param $googleEventId
     * @return IGoogleApiCalendarEvent|null
     */
    public function getEventByGoogleEventId($googleEventId): ?IGoogleApiCalendarEvent;

    /**
     * @param array googleEventsId
     * @return IGoogleApiCalendarEvent[]|null
     */
    public function getEventsByGoogleEventsId(array $googleEventsId): ?array;
}