mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-29 11:08:53 +01:00
35 lines
604 B
PHP
35 lines
604 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Cachet.
|
|
*
|
|
* (c) Alt Three Services Limited
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace CachetHQ\Cachet\Integrations\Contracts;
|
|
|
|
/**
|
|
* This is the beacon interface.
|
|
*
|
|
* @author James Brooks <james@alt-three.com>
|
|
*/
|
|
interface Beacon
|
|
{
|
|
/**
|
|
* Has the install enabled Cachet beacon?
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function enabled();
|
|
|
|
/**
|
|
* Send a beacon to our server.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function send();
|
|
}
|