landrok/activitypub

View on GitHub
src/ActivityPhp/Server/Activity/HandlerInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

/*
 * This file is part of the ActivityPhp package.
 *
 * Copyright (c) landrok at github.com/landrok
 *
 * For the full copyright and license information, please see
 * <https://github.com/landrok/activitypub/blob/master/LICENSE>.
 */

namespace ActivityPhp\Server\Activity;

/**
 * Interface for all activity handlers
 */ 
interface HandlerInterface
{
    /**
     * @return self
     */
    public function handle();

    /**
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function getResponse();
}