mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:00:16 +00:00
remove unnecessary properties from BaseEntity
This commit is contained in:
parent
99603d3d90
commit
2838e3319b
1 changed files with 0 additions and 49 deletions
|
@ -7,9 +7,7 @@
|
|||
|
||||
namespace Friendica;
|
||||
|
||||
use DateTime;
|
||||
use Friendica\Network\HTTPException\InternalServerErrorException;
|
||||
use Psr\Http\Message\UriInterface;
|
||||
|
||||
/**
|
||||
* The Entity classes directly inheriting from this abstract class are meant to represent a single business entity.
|
||||
|
@ -25,53 +23,6 @@ use Psr\Http\Message\UriInterface;
|
|||
*
|
||||
* Since these objects aren't meant to be using any dependency, including logging, unit tests can and must be
|
||||
* written for each and all of their methods
|
||||
*
|
||||
* @property-read int|null $id
|
||||
* @property-read int $uid
|
||||
* @property-read string $verb
|
||||
* @property-read int|string $type
|
||||
* @property-read int $actorId
|
||||
* @property-read int $targetUriId
|
||||
* @property-read int|null $parentUriId
|
||||
* @property-read \DateTime|string $created
|
||||
* @property-read bool $seen
|
||||
* @property-read bool $dismissed
|
||||
* @property-read string $name
|
||||
* @property-read UriInterface $url
|
||||
* @property-read UriInterface $photo
|
||||
* @property-read DateTime $date
|
||||
* @property-read string|null $msg
|
||||
* @property-read UriInterface $link
|
||||
* @property-read int|null $itemId
|
||||
* @property-read int|null $parent
|
||||
* @property-read string|null $otype
|
||||
* @property-read string|null $name_cache
|
||||
* @property-read string|null $msg_cache
|
||||
* @property-read int|null $uriId
|
||||
* @property-read string $cookie_hash
|
||||
* @property-read string $user_agent
|
||||
* @property-read bool $trusted
|
||||
* @property-read string|null $last_used
|
||||
* @property-read string $guid
|
||||
* @property-read string $addr
|
||||
* @property-read UriInterface $alias
|
||||
* @property-read string $nick
|
||||
* @property-read string $givenName
|
||||
* @property-read string $familyName
|
||||
* @property-read UriInterface $photoMedium
|
||||
* @property-read UriInterface $photoSmall
|
||||
* @property-read UriInterface $batch
|
||||
* @property-read UriInterface $notify
|
||||
* @property-read UriInterface $poll
|
||||
* @property-read string $subscribe
|
||||
* @property-read bool $searchable
|
||||
* @property-read string $pubKey
|
||||
* @property-read UriInterface $baseurl
|
||||
* @property-read int $gsid
|
||||
* @property-read \DateTime $updated
|
||||
* @property-read int $interacting_count
|
||||
* @property-read int $interacted_count
|
||||
* @property-read int $post_count
|
||||
*/
|
||||
abstract class BaseEntity extends BaseDataTransferObject
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue