forked from GNUsocial/gnu-social
Refactored AS2 inside AP; [ENTITY][Activity] went from core to AP Webfinger plugin will be part of FreeNetwork component
32 lines
886 B
PHP
32 lines
886 B
PHP
<?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 Plugin\ActivityPub\Util\Type\Extended\Activity;
|
|
|
|
/**
|
|
* \Plugin\ActivityPub\Util\Type\Extended\Activity\Block is an implementation of
|
|
* one of the Activity Streams Extended Types.
|
|
*
|
|
* Indicates that the actor is blocking the object. Blocking is a
|
|
* stronger form of Ignore. The typical use is to support social systems
|
|
* that allow one user to block activities or content of other users.
|
|
* The target and origin typically have no defined meaning.
|
|
*
|
|
* @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-block
|
|
*/
|
|
class Block extends Ignore
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected string $type = 'Block';
|
|
}
|