Introduce Mastodon entity factories and API\Entity

This commit is contained in:
Hypolite Petovan 2020-01-05 17:29:54 -05:00
parent c748a82e8f
commit 5a1abb8c7d
16 changed files with 411 additions and 224 deletions

View file

@ -0,0 +1,20 @@
<?php
namespace Friendica\Api\Entity\Mastodon;
use Friendica\Api\BaseEntity;
/**
* Class Field
*
* @see https://docs.joinmastodon.org/api/entities/#field
*/
class Field extends BaseEntity
{
/** @var string */
protected $name;
/** @var string (HTML) */
protected $value;
/** @var string (Datetime)*/
protected $verified_at;
}