[AUTOGENERATED] Update autogenerated code
This commit is contained in:
parent
689a5df670
commit
699f25a397
@ -62,6 +62,7 @@ class Activity
|
|||||||
$this->id = $id;
|
$this->id = $id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getId(): int
|
public function getId(): int
|
||||||
{
|
{
|
||||||
return $this->id;
|
return $this->id;
|
||||||
@ -72,6 +73,7 @@ class Activity
|
|||||||
$this->profile_id = $profile_id;
|
$this->profile_id = $profile_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getProfileId(): int
|
public function getProfileId(): int
|
||||||
{
|
{
|
||||||
return $this->profile_id;
|
return $this->profile_id;
|
||||||
@ -82,6 +84,7 @@ class Activity
|
|||||||
$this->uri = $uri;
|
$this->uri = $uri;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUri(): ?string
|
public function getUri(): ?string
|
||||||
{
|
{
|
||||||
return $this->uri;
|
return $this->uri;
|
||||||
@ -92,6 +95,7 @@ class Activity
|
|||||||
$this->content = $content;
|
$this->content = $content;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getContent(): ?string
|
public function getContent(): ?string
|
||||||
{
|
{
|
||||||
return $this->content;
|
return $this->content;
|
||||||
@ -102,6 +106,7 @@ class Activity
|
|||||||
$this->rendered = $rendered;
|
$this->rendered = $rendered;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getRendered(): ?string
|
public function getRendered(): ?string
|
||||||
{
|
{
|
||||||
return $this->rendered;
|
return $this->rendered;
|
||||||
@ -112,6 +117,7 @@ class Activity
|
|||||||
$this->reply_to = $reply_to;
|
$this->reply_to = $reply_to;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getReplyTo(): ?int
|
public function getReplyTo(): ?int
|
||||||
{
|
{
|
||||||
return $this->reply_to;
|
return $this->reply_to;
|
||||||
@ -122,6 +128,7 @@ class Activity
|
|||||||
$this->is_local = $is_local;
|
$this->is_local = $is_local;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getIsLocal(): ?bool
|
public function getIsLocal(): ?bool
|
||||||
{
|
{
|
||||||
return $this->is_local;
|
return $this->is_local;
|
||||||
@ -132,6 +139,7 @@ class Activity
|
|||||||
$this->source = $source;
|
$this->source = $source;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSource(): ?string
|
public function getSource(): ?string
|
||||||
{
|
{
|
||||||
return $this->source;
|
return $this->source;
|
||||||
@ -142,6 +150,7 @@ class Activity
|
|||||||
$this->conversation = $conversation;
|
$this->conversation = $conversation;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getConversation(): ?int
|
public function getConversation(): ?int
|
||||||
{
|
{
|
||||||
return $this->conversation;
|
return $this->conversation;
|
||||||
@ -152,6 +161,7 @@ class Activity
|
|||||||
$this->repeat_of = $repeat_of;
|
$this->repeat_of = $repeat_of;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getRepeatOf(): ?int
|
public function getRepeatOf(): ?int
|
||||||
{
|
{
|
||||||
return $this->repeat_of;
|
return $this->repeat_of;
|
||||||
@ -162,6 +172,7 @@ class Activity
|
|||||||
$this->object_type = $object_type;
|
$this->object_type = $object_type;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getObjectType(): ?string
|
public function getObjectType(): ?string
|
||||||
{
|
{
|
||||||
return $this->object_type;
|
return $this->object_type;
|
||||||
@ -172,6 +183,7 @@ class Activity
|
|||||||
$this->verb = $verb;
|
$this->verb = $verb;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getVerb(): ?string
|
public function getVerb(): ?string
|
||||||
{
|
{
|
||||||
return $this->verb;
|
return $this->verb;
|
||||||
@ -182,6 +194,7 @@ class Activity
|
|||||||
$this->scope = $scope;
|
$this->scope = $scope;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getScope(): ?int
|
public function getScope(): ?int
|
||||||
{
|
{
|
||||||
return $this->scope;
|
return $this->scope;
|
||||||
@ -192,6 +205,7 @@ class Activity
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
@ -202,6 +216,7 @@ class Activity
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -51,6 +51,7 @@ class ActivityLocation
|
|||||||
$this->activity_id = $activity_id;
|
$this->activity_id = $activity_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getActivityId(): int
|
public function getActivityId(): int
|
||||||
{
|
{
|
||||||
return $this->activity_id;
|
return $this->activity_id;
|
||||||
@ -61,6 +62,7 @@ class ActivityLocation
|
|||||||
$this->lat = $lat;
|
$this->lat = $lat;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getLat(): ?float
|
public function getLat(): ?float
|
||||||
{
|
{
|
||||||
return $this->lat;
|
return $this->lat;
|
||||||
@ -71,6 +73,7 @@ class ActivityLocation
|
|||||||
$this->lon = $lon;
|
$this->lon = $lon;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getLon(): ?float
|
public function getLon(): ?float
|
||||||
{
|
{
|
||||||
return $this->lon;
|
return $this->lon;
|
||||||
@ -81,6 +84,7 @@ class ActivityLocation
|
|||||||
$this->location_id = $location_id;
|
$this->location_id = $location_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getLocationId(): ?int
|
public function getLocationId(): ?int
|
||||||
{
|
{
|
||||||
return $this->location_id;
|
return $this->location_id;
|
||||||
@ -91,6 +95,7 @@ class ActivityLocation
|
|||||||
$this->location_service = $location_service;
|
$this->location_service = $location_service;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getLocationService(): ?int
|
public function getLocationService(): ?int
|
||||||
{
|
{
|
||||||
return $this->location_service;
|
return $this->location_service;
|
||||||
@ -101,6 +106,7 @@ class ActivityLocation
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -50,6 +50,7 @@ class ActivitySource
|
|||||||
$this->code = $code;
|
$this->code = $code;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCode(): string
|
public function getCode(): string
|
||||||
{
|
{
|
||||||
return $this->code;
|
return $this->code;
|
||||||
@ -60,6 +61,7 @@ class ActivitySource
|
|||||||
$this->name = $name;
|
$this->name = $name;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getName(): string
|
public function getName(): string
|
||||||
{
|
{
|
||||||
return $this->name;
|
return $this->name;
|
||||||
@ -70,6 +72,7 @@ class ActivitySource
|
|||||||
$this->url = $url;
|
$this->url = $url;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUrl(): string
|
public function getUrl(): string
|
||||||
{
|
{
|
||||||
return $this->url;
|
return $this->url;
|
||||||
@ -80,6 +83,7 @@ class ActivitySource
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
@ -90,6 +94,7 @@ class ActivitySource
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -48,6 +48,7 @@ class ActivityTag
|
|||||||
$this->tag = $tag;
|
$this->tag = $tag;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getTag(): string
|
public function getTag(): string
|
||||||
{
|
{
|
||||||
return $this->tag;
|
return $this->tag;
|
||||||
@ -58,6 +59,7 @@ class ActivityTag
|
|||||||
$this->activity_id = $activity_id;
|
$this->activity_id = $activity_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getActivityId(): int
|
public function getActivityId(): int
|
||||||
{
|
{
|
||||||
return $this->activity_id;
|
return $this->activity_id;
|
||||||
@ -68,6 +70,7 @@ class ActivityTag
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
|
@ -46,6 +46,7 @@ class Config
|
|||||||
$this->section = $section;
|
$this->section = $section;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSection(): string
|
public function getSection(): string
|
||||||
{
|
{
|
||||||
return $this->section;
|
return $this->section;
|
||||||
@ -56,6 +57,7 @@ class Config
|
|||||||
$this->setting = $setting;
|
$this->setting = $setting;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSetting(): string
|
public function getSetting(): string
|
||||||
{
|
{
|
||||||
return $this->setting;
|
return $this->setting;
|
||||||
@ -66,6 +68,7 @@ class Config
|
|||||||
$this->value = $value;
|
$this->value = $value;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getValue(): ?string
|
public function getValue(): ?string
|
||||||
{
|
{
|
||||||
return $this->value;
|
return $this->value;
|
||||||
|
@ -53,6 +53,7 @@ class ConfirmAddress
|
|||||||
$this->code = $code;
|
$this->code = $code;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCode(): string
|
public function getCode(): string
|
||||||
{
|
{
|
||||||
return $this->code;
|
return $this->code;
|
||||||
@ -63,6 +64,7 @@ class ConfirmAddress
|
|||||||
$this->user_id = $user_id;
|
$this->user_id = $user_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUserId(): ?int
|
public function getUserId(): ?int
|
||||||
{
|
{
|
||||||
return $this->user_id;
|
return $this->user_id;
|
||||||
@ -73,6 +75,7 @@ class ConfirmAddress
|
|||||||
$this->address = $address;
|
$this->address = $address;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getAddress(): string
|
public function getAddress(): string
|
||||||
{
|
{
|
||||||
return $this->address;
|
return $this->address;
|
||||||
@ -83,6 +86,7 @@ class ConfirmAddress
|
|||||||
$this->address_extra = $address_extra;
|
$this->address_extra = $address_extra;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getAddressExtra(): ?string
|
public function getAddressExtra(): ?string
|
||||||
{
|
{
|
||||||
return $this->address_extra;
|
return $this->address_extra;
|
||||||
@ -93,6 +97,7 @@ class ConfirmAddress
|
|||||||
$this->address_type = $address_type;
|
$this->address_type = $address_type;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getAddressType(): string
|
public function getAddressType(): string
|
||||||
{
|
{
|
||||||
return $this->address_type;
|
return $this->address_type;
|
||||||
@ -103,6 +108,7 @@ class ConfirmAddress
|
|||||||
$this->claimed = $claimed;
|
$this->claimed = $claimed;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getClaimed(): ?DateTimeInterface
|
public function getClaimed(): ?DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->claimed;
|
return $this->claimed;
|
||||||
@ -113,6 +119,7 @@ class ConfirmAddress
|
|||||||
$this->sent = $sent;
|
$this->sent = $sent;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSent(): DateTimeInterface
|
public function getSent(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->sent;
|
return $this->sent;
|
||||||
@ -123,6 +130,7 @@ class ConfirmAddress
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -48,6 +48,7 @@ class Conversation
|
|||||||
$this->id = $id;
|
$this->id = $id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getId(): int
|
public function getId(): int
|
||||||
{
|
{
|
||||||
return $this->id;
|
return $this->id;
|
||||||
@ -58,6 +59,7 @@ class Conversation
|
|||||||
$this->uri = $uri;
|
$this->uri = $uri;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUri(): string
|
public function getUri(): string
|
||||||
{
|
{
|
||||||
return $this->uri;
|
return $this->uri;
|
||||||
@ -68,6 +70,7 @@ class Conversation
|
|||||||
$this->url = $url;
|
$this->url = $url;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUrl(): ?string
|
public function getUrl(): ?string
|
||||||
{
|
{
|
||||||
return $this->url;
|
return $this->url;
|
||||||
@ -78,6 +81,7 @@ class Conversation
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
@ -88,6 +92,7 @@ class Conversation
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -49,6 +49,7 @@ class FileThumbnail
|
|||||||
$this->file_id = $file_id;
|
$this->file_id = $file_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFileId(): int
|
public function getFileId(): int
|
||||||
{
|
{
|
||||||
return $this->file_id;
|
return $this->file_id;
|
||||||
@ -59,6 +60,7 @@ class FileThumbnail
|
|||||||
$this->width = $width;
|
$this->width = $width;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getWidth(): int
|
public function getWidth(): int
|
||||||
{
|
{
|
||||||
return $this->width;
|
return $this->width;
|
||||||
@ -69,6 +71,7 @@ class FileThumbnail
|
|||||||
$this->height = $height;
|
$this->height = $height;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getHeight(): int
|
public function getHeight(): int
|
||||||
{
|
{
|
||||||
return $this->height;
|
return $this->height;
|
||||||
@ -79,6 +82,7 @@ class FileThumbnail
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -48,6 +48,7 @@ class FileToActivity
|
|||||||
$this->file_id = $file_id;
|
$this->file_id = $file_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFileId(): int
|
public function getFileId(): int
|
||||||
{
|
{
|
||||||
return $this->file_id;
|
return $this->file_id;
|
||||||
@ -58,6 +59,7 @@ class FileToActivity
|
|||||||
$this->activity_id = $activity_id;
|
$this->activity_id = $activity_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getActivityId(): int
|
public function getActivityId(): int
|
||||||
{
|
{
|
||||||
return $this->activity_id;
|
return $this->activity_id;
|
||||||
@ -68,6 +70,7 @@ class FileToActivity
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -51,6 +51,7 @@ class Follow
|
|||||||
$this->follower = $follower;
|
$this->follower = $follower;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFollower(): int
|
public function getFollower(): int
|
||||||
{
|
{
|
||||||
return $this->follower;
|
return $this->follower;
|
||||||
@ -61,6 +62,7 @@ class Follow
|
|||||||
$this->followed = $followed;
|
$this->followed = $followed;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFollowed(): int
|
public function getFollowed(): int
|
||||||
{
|
{
|
||||||
return $this->followed;
|
return $this->followed;
|
||||||
@ -71,6 +73,7 @@ class Follow
|
|||||||
$this->uri = $uri;
|
$this->uri = $uri;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUri(): ?string
|
public function getUri(): ?string
|
||||||
{
|
{
|
||||||
return $this->uri;
|
return $this->uri;
|
||||||
@ -81,6 +84,7 @@ class Follow
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
@ -91,6 +95,7 @@ class Follow
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -48,6 +48,7 @@ class FollowQueue
|
|||||||
$this->follower = $follower;
|
$this->follower = $follower;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFollower(): int
|
public function getFollower(): int
|
||||||
{
|
{
|
||||||
return $this->follower;
|
return $this->follower;
|
||||||
@ -58,6 +59,7 @@ class FollowQueue
|
|||||||
$this->followed = $followed;
|
$this->followed = $followed;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFollowed(): int
|
public function getFollowed(): int
|
||||||
{
|
{
|
||||||
return $this->followed;
|
return $this->followed;
|
||||||
@ -68,6 +70,7 @@ class FollowQueue
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
|
@ -63,6 +63,7 @@ class Group
|
|||||||
$this->id = $id;
|
$this->id = $id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getId(): int
|
public function getId(): int
|
||||||
{
|
{
|
||||||
return $this->id;
|
return $this->id;
|
||||||
@ -73,6 +74,7 @@ class Group
|
|||||||
$this->profile_id = $profile_id;
|
$this->profile_id = $profile_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getProfileId(): int
|
public function getProfileId(): int
|
||||||
{
|
{
|
||||||
return $this->profile_id;
|
return $this->profile_id;
|
||||||
@ -83,6 +85,7 @@ class Group
|
|||||||
$this->nickname = $nickname;
|
$this->nickname = $nickname;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getNickname(): ?string
|
public function getNickname(): ?string
|
||||||
{
|
{
|
||||||
return $this->nickname;
|
return $this->nickname;
|
||||||
@ -93,6 +96,7 @@ class Group
|
|||||||
$this->fullname = $fullname;
|
$this->fullname = $fullname;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFullname(): ?string
|
public function getFullname(): ?string
|
||||||
{
|
{
|
||||||
return $this->fullname;
|
return $this->fullname;
|
||||||
@ -103,6 +107,7 @@ class Group
|
|||||||
$this->homepage = $homepage;
|
$this->homepage = $homepage;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getHomepage(): ?string
|
public function getHomepage(): ?string
|
||||||
{
|
{
|
||||||
return $this->homepage;
|
return $this->homepage;
|
||||||
@ -113,6 +118,7 @@ class Group
|
|||||||
$this->description = $description;
|
$this->description = $description;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDescription(): ?string
|
public function getDescription(): ?string
|
||||||
{
|
{
|
||||||
return $this->description;
|
return $this->description;
|
||||||
@ -123,6 +129,7 @@ class Group
|
|||||||
$this->is_local = $is_local;
|
$this->is_local = $is_local;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getIsLocal(): ?bool
|
public function getIsLocal(): ?bool
|
||||||
{
|
{
|
||||||
return $this->is_local;
|
return $this->is_local;
|
||||||
@ -133,6 +140,7 @@ class Group
|
|||||||
$this->location = $location;
|
$this->location = $location;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getLocation(): ?string
|
public function getLocation(): ?string
|
||||||
{
|
{
|
||||||
return $this->location;
|
return $this->location;
|
||||||
@ -143,6 +151,7 @@ class Group
|
|||||||
$this->original_logo = $original_logo;
|
$this->original_logo = $original_logo;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getOriginalLogo(): ?string
|
public function getOriginalLogo(): ?string
|
||||||
{
|
{
|
||||||
return $this->original_logo;
|
return $this->original_logo;
|
||||||
@ -153,6 +162,7 @@ class Group
|
|||||||
$this->homepage_logo = $homepage_logo;
|
$this->homepage_logo = $homepage_logo;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getHomepageLogo(): ?string
|
public function getHomepageLogo(): ?string
|
||||||
{
|
{
|
||||||
return $this->homepage_logo;
|
return $this->homepage_logo;
|
||||||
@ -163,6 +173,7 @@ class Group
|
|||||||
$this->stream_logo = $stream_logo;
|
$this->stream_logo = $stream_logo;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getStreamLogo(): ?string
|
public function getStreamLogo(): ?string
|
||||||
{
|
{
|
||||||
return $this->stream_logo;
|
return $this->stream_logo;
|
||||||
@ -173,6 +184,7 @@ class Group
|
|||||||
$this->mini_logo = $mini_logo;
|
$this->mini_logo = $mini_logo;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getMiniLogo(): ?string
|
public function getMiniLogo(): ?string
|
||||||
{
|
{
|
||||||
return $this->mini_logo;
|
return $this->mini_logo;
|
||||||
@ -183,6 +195,7 @@ class Group
|
|||||||
$this->uri = $uri;
|
$this->uri = $uri;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUri(): ?string
|
public function getUri(): ?string
|
||||||
{
|
{
|
||||||
return $this->uri;
|
return $this->uri;
|
||||||
@ -193,6 +206,7 @@ class Group
|
|||||||
$this->mainpage = $mainpage;
|
$this->mainpage = $mainpage;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getMainpage(): ?string
|
public function getMainpage(): ?string
|
||||||
{
|
{
|
||||||
return $this->mainpage;
|
return $this->mainpage;
|
||||||
@ -203,6 +217,7 @@ class Group
|
|||||||
$this->join_policy = $join_policy;
|
$this->join_policy = $join_policy;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getJoinPolicy(): ?int
|
public function getJoinPolicy(): ?int
|
||||||
{
|
{
|
||||||
return $this->join_policy;
|
return $this->join_policy;
|
||||||
@ -213,6 +228,7 @@ class Group
|
|||||||
$this->force_scope = $force_scope;
|
$this->force_scope = $force_scope;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getForceScope(): ?int
|
public function getForceScope(): ?int
|
||||||
{
|
{
|
||||||
return $this->force_scope;
|
return $this->force_scope;
|
||||||
@ -223,6 +239,7 @@ class Group
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
@ -233,6 +250,7 @@ class Group
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -48,6 +48,7 @@ class GroupAlias
|
|||||||
$this->alias = $alias;
|
$this->alias = $alias;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getAlias(): string
|
public function getAlias(): string
|
||||||
{
|
{
|
||||||
return $this->alias;
|
return $this->alias;
|
||||||
@ -58,6 +59,7 @@ class GroupAlias
|
|||||||
$this->group_id = $group_id;
|
$this->group_id = $group_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGroupId(): int
|
public function getGroupId(): int
|
||||||
{
|
{
|
||||||
return $this->group_id;
|
return $this->group_id;
|
||||||
@ -68,6 +70,7 @@ class GroupAlias
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -49,6 +49,7 @@ class GroupBlock
|
|||||||
$this->group_id = $group_id;
|
$this->group_id = $group_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGroupId(): int
|
public function getGroupId(): int
|
||||||
{
|
{
|
||||||
return $this->group_id;
|
return $this->group_id;
|
||||||
@ -59,6 +60,7 @@ class GroupBlock
|
|||||||
$this->blocked_profile = $blocked_profile;
|
$this->blocked_profile = $blocked_profile;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getBlockedProfile(): int
|
public function getBlockedProfile(): int
|
||||||
{
|
{
|
||||||
return $this->blocked_profile;
|
return $this->blocked_profile;
|
||||||
@ -69,6 +71,7 @@ class GroupBlock
|
|||||||
$this->blocker_user = $blocker_user;
|
$this->blocker_user = $blocker_user;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getBlockerUser(): int
|
public function getBlockerUser(): int
|
||||||
{
|
{
|
||||||
return $this->blocker_user;
|
return $this->blocker_user;
|
||||||
@ -79,6 +82,7 @@ class GroupBlock
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -48,6 +48,7 @@ class GroupInbox
|
|||||||
$this->group_id = $group_id;
|
$this->group_id = $group_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGroupId(): int
|
public function getGroupId(): int
|
||||||
{
|
{
|
||||||
return $this->group_id;
|
return $this->group_id;
|
||||||
@ -58,6 +59,7 @@ class GroupInbox
|
|||||||
$this->activity_id = $activity_id;
|
$this->activity_id = $activity_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getActivityId(): int
|
public function getActivityId(): int
|
||||||
{
|
{
|
||||||
return $this->activity_id;
|
return $this->activity_id;
|
||||||
@ -68,6 +70,7 @@ class GroupInbox
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
|
@ -48,6 +48,7 @@ class GroupJoinQueue
|
|||||||
$this->profile_id = $profile_id;
|
$this->profile_id = $profile_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getProfileId(): int
|
public function getProfileId(): int
|
||||||
{
|
{
|
||||||
return $this->profile_id;
|
return $this->profile_id;
|
||||||
@ -58,6 +59,7 @@ class GroupJoinQueue
|
|||||||
$this->group_id = $group_id;
|
$this->group_id = $group_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGroupId(): int
|
public function getGroupId(): int
|
||||||
{
|
{
|
||||||
return $this->group_id;
|
return $this->group_id;
|
||||||
@ -68,6 +70,7 @@ class GroupJoinQueue
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
|
@ -51,6 +51,7 @@ class GroupMember
|
|||||||
$this->group_id = $group_id;
|
$this->group_id = $group_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGroupId(): int
|
public function getGroupId(): int
|
||||||
{
|
{
|
||||||
return $this->group_id;
|
return $this->group_id;
|
||||||
@ -61,6 +62,7 @@ class GroupMember
|
|||||||
$this->profile_id = $profile_id;
|
$this->profile_id = $profile_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getProfileId(): int
|
public function getProfileId(): int
|
||||||
{
|
{
|
||||||
return $this->profile_id;
|
return $this->profile_id;
|
||||||
@ -71,6 +73,7 @@ class GroupMember
|
|||||||
$this->is_admin = $is_admin;
|
$this->is_admin = $is_admin;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getIsAdmin(): ?bool
|
public function getIsAdmin(): ?bool
|
||||||
{
|
{
|
||||||
return $this->is_admin;
|
return $this->is_admin;
|
||||||
@ -81,6 +84,7 @@ class GroupMember
|
|||||||
$this->uri = $uri;
|
$this->uri = $uri;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUri(): ?string
|
public function getUri(): ?string
|
||||||
{
|
{
|
||||||
return $this->uri;
|
return $this->uri;
|
||||||
@ -91,6 +95,7 @@ class GroupMember
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
@ -101,6 +106,7 @@ class GroupMember
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -51,6 +51,7 @@ class Invitation
|
|||||||
$this->code = $code;
|
$this->code = $code;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCode(): string
|
public function getCode(): string
|
||||||
{
|
{
|
||||||
return $this->code;
|
return $this->code;
|
||||||
@ -61,6 +62,7 @@ class Invitation
|
|||||||
$this->user_id = $user_id;
|
$this->user_id = $user_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUserId(): int
|
public function getUserId(): int
|
||||||
{
|
{
|
||||||
return $this->user_id;
|
return $this->user_id;
|
||||||
@ -71,6 +73,7 @@ class Invitation
|
|||||||
$this->address = $address;
|
$this->address = $address;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getAddress(): string
|
public function getAddress(): string
|
||||||
{
|
{
|
||||||
return $this->address;
|
return $this->address;
|
||||||
@ -81,6 +84,7 @@ class Invitation
|
|||||||
$this->address_type = $address_type;
|
$this->address_type = $address_type;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getAddressType(): string
|
public function getAddressType(): string
|
||||||
{
|
{
|
||||||
return $this->address_type;
|
return $this->address_type;
|
||||||
@ -91,6 +95,7 @@ class Invitation
|
|||||||
$this->registered_user_id = $registered_user_id;
|
$this->registered_user_id = $registered_user_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getRegisteredUserId(): ?int
|
public function getRegisteredUserId(): ?int
|
||||||
{
|
{
|
||||||
return $this->registered_user_id;
|
return $this->registered_user_id;
|
||||||
@ -101,6 +106,7 @@ class Invitation
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
|
@ -49,6 +49,7 @@ class LocalGroup
|
|||||||
$this->group_id = $group_id;
|
$this->group_id = $group_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGroupId(): int
|
public function getGroupId(): int
|
||||||
{
|
{
|
||||||
return $this->group_id;
|
return $this->group_id;
|
||||||
@ -59,6 +60,7 @@ class LocalGroup
|
|||||||
$this->nickname = $nickname;
|
$this->nickname = $nickname;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getNickname(): ?string
|
public function getNickname(): ?string
|
||||||
{
|
{
|
||||||
return $this->nickname;
|
return $this->nickname;
|
||||||
@ -69,6 +71,7 @@ class LocalGroup
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
@ -79,6 +82,7 @@ class LocalGroup
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -68,6 +68,7 @@ class LocalUser implements UserInterface
|
|||||||
$this->nickname = $nickname;
|
$this->nickname = $nickname;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getNickname(): ?string
|
public function getNickname(): ?string
|
||||||
{
|
{
|
||||||
return $this->nickname;
|
return $this->nickname;
|
||||||
@ -78,6 +79,7 @@ class LocalUser implements UserInterface
|
|||||||
$this->password = $password;
|
$this->password = $password;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPassword(): ?string
|
public function getPassword(): ?string
|
||||||
{
|
{
|
||||||
return $this->password;
|
return $this->password;
|
||||||
@ -88,6 +90,7 @@ class LocalUser implements UserInterface
|
|||||||
$this->outgoing_email = $outgoing_email;
|
$this->outgoing_email = $outgoing_email;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getOutgoingEmail(): ?string
|
public function getOutgoingEmail(): ?string
|
||||||
{
|
{
|
||||||
return $this->outgoing_email;
|
return $this->outgoing_email;
|
||||||
@ -98,6 +101,7 @@ class LocalUser implements UserInterface
|
|||||||
$this->incoming_email = $incoming_email;
|
$this->incoming_email = $incoming_email;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getIncomingEmail(): ?string
|
public function getIncomingEmail(): ?string
|
||||||
{
|
{
|
||||||
return $this->incoming_email;
|
return $this->incoming_email;
|
||||||
@ -108,6 +112,7 @@ class LocalUser implements UserInterface
|
|||||||
$this->is_email_verified = $is_email_verified;
|
$this->is_email_verified = $is_email_verified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getIsEmailVerified(): ?bool
|
public function getIsEmailVerified(): ?bool
|
||||||
{
|
{
|
||||||
return $this->is_email_verified;
|
return $this->is_email_verified;
|
||||||
@ -118,6 +123,7 @@ class LocalUser implements UserInterface
|
|||||||
$this->language = $language;
|
$this->language = $language;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getLanguage(): ?string
|
public function getLanguage(): ?string
|
||||||
{
|
{
|
||||||
return $this->language;
|
return $this->language;
|
||||||
@ -128,6 +134,7 @@ class LocalUser implements UserInterface
|
|||||||
$this->timezone = $timezone;
|
$this->timezone = $timezone;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getTimezone(): ?string
|
public function getTimezone(): ?string
|
||||||
{
|
{
|
||||||
return $this->timezone;
|
return $this->timezone;
|
||||||
@ -138,6 +145,7 @@ class LocalUser implements UserInterface
|
|||||||
$this->phone_number = $phone_number;
|
$this->phone_number = $phone_number;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPhoneNumber(): ?PhoneNumber
|
public function getPhoneNumber(): ?PhoneNumber
|
||||||
{
|
{
|
||||||
return $this->phone_number;
|
return $this->phone_number;
|
||||||
@ -148,6 +156,7 @@ class LocalUser implements UserInterface
|
|||||||
$this->sms_carrier = $sms_carrier;
|
$this->sms_carrier = $sms_carrier;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSmsCarrier(): ?int
|
public function getSmsCarrier(): ?int
|
||||||
{
|
{
|
||||||
return $this->sms_carrier;
|
return $this->sms_carrier;
|
||||||
@ -158,6 +167,7 @@ class LocalUser implements UserInterface
|
|||||||
$this->sms_email = $sms_email;
|
$this->sms_email = $sms_email;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSmsEmail(): ?string
|
public function getSmsEmail(): ?string
|
||||||
{
|
{
|
||||||
return $this->sms_email;
|
return $this->sms_email;
|
||||||
@ -168,6 +178,7 @@ class LocalUser implements UserInterface
|
|||||||
$this->uri = $uri;
|
$this->uri = $uri;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUri(): ?string
|
public function getUri(): ?string
|
||||||
{
|
{
|
||||||
return $this->uri;
|
return $this->uri;
|
||||||
@ -178,6 +189,7 @@ class LocalUser implements UserInterface
|
|||||||
$this->auto_follow_back = $auto_follow_back;
|
$this->auto_follow_back = $auto_follow_back;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getAutoFollowBack(): ?bool
|
public function getAutoFollowBack(): ?bool
|
||||||
{
|
{
|
||||||
return $this->auto_follow_back;
|
return $this->auto_follow_back;
|
||||||
@ -188,6 +200,7 @@ class LocalUser implements UserInterface
|
|||||||
$this->follow_policy = $follow_policy;
|
$this->follow_policy = $follow_policy;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFollowPolicy(): ?int
|
public function getFollowPolicy(): ?int
|
||||||
{
|
{
|
||||||
return $this->follow_policy;
|
return $this->follow_policy;
|
||||||
@ -198,6 +211,7 @@ class LocalUser implements UserInterface
|
|||||||
$this->is_stream_private = $is_stream_private;
|
$this->is_stream_private = $is_stream_private;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getIsStreamPrivate(): ?bool
|
public function getIsStreamPrivate(): ?bool
|
||||||
{
|
{
|
||||||
return $this->is_stream_private;
|
return $this->is_stream_private;
|
||||||
@ -208,6 +222,7 @@ class LocalUser implements UserInterface
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
@ -218,6 +233,7 @@ class LocalUser implements UserInterface
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -49,6 +49,7 @@ class LocationService
|
|||||||
$this->id = $id;
|
$this->id = $id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getId(): int
|
public function getId(): int
|
||||||
{
|
{
|
||||||
return $this->id;
|
return $this->id;
|
||||||
@ -59,6 +60,7 @@ class LocationService
|
|||||||
$this->description = $description;
|
$this->description = $description;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDescription(): ?string
|
public function getDescription(): ?string
|
||||||
{
|
{
|
||||||
return $this->description;
|
return $this->description;
|
||||||
@ -69,6 +71,7 @@ class LocationService
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
@ -79,6 +82,7 @@ class LocationService
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -50,6 +50,7 @@ class Notification
|
|||||||
$this->notice_id = $notice_id;
|
$this->notice_id = $notice_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getNoticeId(): int
|
public function getNoticeId(): int
|
||||||
{
|
{
|
||||||
return $this->notice_id;
|
return $this->notice_id;
|
||||||
@ -60,6 +61,7 @@ class Notification
|
|||||||
$this->profile_id = $profile_id;
|
$this->profile_id = $profile_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getProfileId(): int
|
public function getProfileId(): int
|
||||||
{
|
{
|
||||||
return $this->profile_id;
|
return $this->profile_id;
|
||||||
@ -70,6 +72,7 @@ class Notification
|
|||||||
$this->reason = $reason;
|
$this->reason = $reason;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getReason(): ?string
|
public function getReason(): ?string
|
||||||
{
|
{
|
||||||
return $this->reason;
|
return $this->reason;
|
||||||
@ -80,6 +83,7 @@ class Notification
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
@ -90,6 +94,7 @@ class Notification
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -48,6 +48,7 @@ class ProfileBlock
|
|||||||
$this->blocker = $blocker;
|
$this->blocker = $blocker;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getBlocker(): int
|
public function getBlocker(): int
|
||||||
{
|
{
|
||||||
return $this->blocker;
|
return $this->blocker;
|
||||||
@ -58,6 +59,7 @@ class ProfileBlock
|
|||||||
$this->blocked = $blocked;
|
$this->blocked = $blocked;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getBlocked(): int
|
public function getBlocked(): int
|
||||||
{
|
{
|
||||||
return $this->blocked;
|
return $this->blocked;
|
||||||
@ -68,6 +70,7 @@ class ProfileBlock
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -56,6 +56,7 @@ class ProfileList
|
|||||||
$this->id = $id;
|
$this->id = $id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getId(): int
|
public function getId(): int
|
||||||
{
|
{
|
||||||
return $this->id;
|
return $this->id;
|
||||||
@ -66,6 +67,7 @@ class ProfileList
|
|||||||
$this->tagger = $tagger;
|
$this->tagger = $tagger;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getTagger(): int
|
public function getTagger(): int
|
||||||
{
|
{
|
||||||
return $this->tagger;
|
return $this->tagger;
|
||||||
@ -76,6 +78,7 @@ class ProfileList
|
|||||||
$this->tag = $tag;
|
$this->tag = $tag;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getTag(): string
|
public function getTag(): string
|
||||||
{
|
{
|
||||||
return $this->tag;
|
return $this->tag;
|
||||||
@ -86,6 +89,7 @@ class ProfileList
|
|||||||
$this->description = $description;
|
$this->description = $description;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDescription(): ?string
|
public function getDescription(): ?string
|
||||||
{
|
{
|
||||||
return $this->description;
|
return $this->description;
|
||||||
@ -96,6 +100,7 @@ class ProfileList
|
|||||||
$this->private = $private;
|
$this->private = $private;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPrivate(): ?bool
|
public function getPrivate(): ?bool
|
||||||
{
|
{
|
||||||
return $this->private;
|
return $this->private;
|
||||||
@ -106,6 +111,7 @@ class ProfileList
|
|||||||
$this->uri = $uri;
|
$this->uri = $uri;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUri(): ?string
|
public function getUri(): ?string
|
||||||
{
|
{
|
||||||
return $this->uri;
|
return $this->uri;
|
||||||
@ -116,6 +122,7 @@ class ProfileList
|
|||||||
$this->mainpage = $mainpage;
|
$this->mainpage = $mainpage;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getMainpage(): ?string
|
public function getMainpage(): ?string
|
||||||
{
|
{
|
||||||
return $this->mainpage;
|
return $this->mainpage;
|
||||||
@ -126,6 +133,7 @@ class ProfileList
|
|||||||
$this->tagged_count = $tagged_count;
|
$this->tagged_count = $tagged_count;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getTaggedCount(): ?int
|
public function getTaggedCount(): ?int
|
||||||
{
|
{
|
||||||
return $this->tagged_count;
|
return $this->tagged_count;
|
||||||
@ -136,6 +144,7 @@ class ProfileList
|
|||||||
$this->follower_count = $follower_count;
|
$this->follower_count = $follower_count;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFollowerCount(): ?int
|
public function getFollowerCount(): ?int
|
||||||
{
|
{
|
||||||
return $this->follower_count;
|
return $this->follower_count;
|
||||||
@ -146,6 +155,7 @@ class ProfileList
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
@ -156,6 +166,7 @@ class ProfileList
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -51,6 +51,7 @@ class ProfilePrefs
|
|||||||
$this->profile_id = $profile_id;
|
$this->profile_id = $profile_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getProfileId(): int
|
public function getProfileId(): int
|
||||||
{
|
{
|
||||||
return $this->profile_id;
|
return $this->profile_id;
|
||||||
@ -61,6 +62,7 @@ class ProfilePrefs
|
|||||||
$this->namespace = $namespace;
|
$this->namespace = $namespace;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getNamespace(): string
|
public function getNamespace(): string
|
||||||
{
|
{
|
||||||
return $this->namespace;
|
return $this->namespace;
|
||||||
@ -71,6 +73,7 @@ class ProfilePrefs
|
|||||||
$this->topic = $topic;
|
$this->topic = $topic;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getTopic(): string
|
public function getTopic(): string
|
||||||
{
|
{
|
||||||
return $this->topic;
|
return $this->topic;
|
||||||
@ -81,6 +84,7 @@ class ProfilePrefs
|
|||||||
$this->data = $data;
|
$this->data = $data;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getData()
|
public function getData()
|
||||||
{
|
{
|
||||||
return $this->data;
|
return $this->data;
|
||||||
@ -91,6 +95,7 @@ class ProfilePrefs
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
@ -101,6 +106,7 @@ class ProfilePrefs
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -48,6 +48,7 @@ class ProfileRole
|
|||||||
$this->profile_id = $profile_id;
|
$this->profile_id = $profile_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getProfileId(): int
|
public function getProfileId(): int
|
||||||
{
|
{
|
||||||
return $this->profile_id;
|
return $this->profile_id;
|
||||||
@ -58,6 +59,7 @@ class ProfileRole
|
|||||||
$this->role = $role;
|
$this->role = $role;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getRole(): string
|
public function getRole(): string
|
||||||
{
|
{
|
||||||
return $this->role;
|
return $this->role;
|
||||||
@ -68,6 +70,7 @@ class ProfileRole
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
|
@ -50,6 +50,7 @@ class ProfileTag
|
|||||||
$this->tagger = $tagger;
|
$this->tagger = $tagger;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getTagger(): int
|
public function getTagger(): int
|
||||||
{
|
{
|
||||||
return $this->tagger;
|
return $this->tagger;
|
||||||
@ -60,6 +61,7 @@ class ProfileTag
|
|||||||
$this->tagged = $tagged;
|
$this->tagged = $tagged;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getTagged(): int
|
public function getTagged(): int
|
||||||
{
|
{
|
||||||
return $this->tagged;
|
return $this->tagged;
|
||||||
@ -70,6 +72,7 @@ class ProfileTag
|
|||||||
$this->tag = $tag;
|
$this->tag = $tag;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getTag(): string
|
public function getTag(): string
|
||||||
{
|
{
|
||||||
return $this->tag;
|
return $this->tag;
|
||||||
@ -80,6 +83,7 @@ class ProfileTag
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -49,6 +49,7 @@ class ProfileTagFollow
|
|||||||
$this->profile_tag_id = $profile_tag_id;
|
$this->profile_tag_id = $profile_tag_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getProfileTagId(): int
|
public function getProfileTagId(): int
|
||||||
{
|
{
|
||||||
return $this->profile_tag_id;
|
return $this->profile_tag_id;
|
||||||
@ -59,6 +60,7 @@ class ProfileTagFollow
|
|||||||
$this->profile_id = $profile_id;
|
$this->profile_id = $profile_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getProfileId(): int
|
public function getProfileId(): int
|
||||||
{
|
{
|
||||||
return $this->profile_id;
|
return $this->profile_id;
|
||||||
@ -69,6 +71,7 @@ class ProfileTagFollow
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
@ -79,6 +82,7 @@ class ProfileTagFollow
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -48,6 +48,7 @@ class RelatedGroup
|
|||||||
$this->group_id = $group_id;
|
$this->group_id = $group_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGroupId(): int
|
public function getGroupId(): int
|
||||||
{
|
{
|
||||||
return $this->group_id;
|
return $this->group_id;
|
||||||
@ -58,6 +59,7 @@ class RelatedGroup
|
|||||||
$this->related_group_id = $related_group_id;
|
$this->related_group_id = $related_group_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getRelatedGroupId(): int
|
public function getRelatedGroupId(): int
|
||||||
{
|
{
|
||||||
return $this->related_group_id;
|
return $this->related_group_id;
|
||||||
@ -68,6 +70,7 @@ class RelatedGroup
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
|
@ -48,6 +48,7 @@ class RememberMeToken
|
|||||||
$this->series = $series;
|
$this->series = $series;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSeries(): string
|
public function getSeries(): string
|
||||||
{
|
{
|
||||||
return $this->series;
|
return $this->series;
|
||||||
@ -58,6 +59,7 @@ class RememberMeToken
|
|||||||
$this->value = $value;
|
$this->value = $value;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getValue(): string
|
public function getValue(): string
|
||||||
{
|
{
|
||||||
return $this->value;
|
return $this->value;
|
||||||
@ -68,6 +70,7 @@ class RememberMeToken
|
|||||||
$this->lastUsed = $lastUsed;
|
$this->lastUsed = $lastUsed;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getLastUsed(): DateTimeInterface
|
public function getLastUsed(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->lastUsed;
|
return $this->lastUsed;
|
||||||
@ -78,6 +81,7 @@ class RememberMeToken
|
|||||||
$this->class = $class;
|
$this->class = $class;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getClass(): string
|
public function getClass(): string
|
||||||
{
|
{
|
||||||
return $this->class;
|
return $this->class;
|
||||||
@ -88,6 +92,7 @@ class RememberMeToken
|
|||||||
$this->username = $username;
|
$this->username = $username;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUsername(): string
|
public function getUsername(): string
|
||||||
{
|
{
|
||||||
return $this->username;
|
return $this->username;
|
||||||
|
@ -47,6 +47,7 @@ class ReservedNickname
|
|||||||
$this->nickname = $nickname;
|
$this->nickname = $nickname;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getNickname(): string
|
public function getNickname(): string
|
||||||
{
|
{
|
||||||
return $this->nickname;
|
return $this->nickname;
|
||||||
@ -57,6 +58,7 @@ class ReservedNickname
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
|
@ -50,6 +50,7 @@ class SmsCarrier
|
|||||||
$this->id = $id;
|
$this->id = $id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getId(): int
|
public function getId(): int
|
||||||
{
|
{
|
||||||
return $this->id;
|
return $this->id;
|
||||||
@ -60,6 +61,7 @@ class SmsCarrier
|
|||||||
$this->name = $name;
|
$this->name = $name;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getName(): ?string
|
public function getName(): ?string
|
||||||
{
|
{
|
||||||
return $this->name;
|
return $this->name;
|
||||||
@ -70,6 +72,7 @@ class SmsCarrier
|
|||||||
$this->email_pattern = $email_pattern;
|
$this->email_pattern = $email_pattern;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEmailPattern(): string
|
public function getEmailPattern(): string
|
||||||
{
|
{
|
||||||
return $this->email_pattern;
|
return $this->email_pattern;
|
||||||
@ -80,6 +83,7 @@ class SmsCarrier
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
@ -90,6 +94,7 @@ class SmsCarrier
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -47,6 +47,7 @@ class UserLocationPrefs
|
|||||||
$this->user_id = $user_id;
|
$this->user_id = $user_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUserId(): int
|
public function getUserId(): int
|
||||||
{
|
{
|
||||||
return $this->user_id;
|
return $this->user_id;
|
||||||
@ -57,6 +58,7 @@ class UserLocationPrefs
|
|||||||
$this->share_location = $share_location;
|
$this->share_location = $share_location;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getShareLocation(): ?bool
|
public function getShareLocation(): ?bool
|
||||||
{
|
{
|
||||||
return $this->share_location;
|
return $this->share_location;
|
||||||
@ -67,6 +69,7 @@ class UserLocationPrefs
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
@ -77,6 +80,7 @@ class UserLocationPrefs
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -57,6 +57,7 @@ class UserNotificationPrefs
|
|||||||
$this->user_id = $user_id;
|
$this->user_id = $user_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUserId(): int
|
public function getUserId(): int
|
||||||
{
|
{
|
||||||
return $this->user_id;
|
return $this->user_id;
|
||||||
@ -67,6 +68,7 @@ class UserNotificationPrefs
|
|||||||
$this->transport = $transport;
|
$this->transport = $transport;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getTransport(): string
|
public function getTransport(): string
|
||||||
{
|
{
|
||||||
return $this->transport;
|
return $this->transport;
|
||||||
@ -77,6 +79,7 @@ class UserNotificationPrefs
|
|||||||
$this->target_profile_id = $target_profile_id;
|
$this->target_profile_id = $target_profile_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getTargetProfileId(): ?int
|
public function getTargetProfileId(): ?int
|
||||||
{
|
{
|
||||||
return $this->target_profile_id;
|
return $this->target_profile_id;
|
||||||
@ -87,6 +90,7 @@ class UserNotificationPrefs
|
|||||||
$this->activity_by_followed = $activity_by_followed;
|
$this->activity_by_followed = $activity_by_followed;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getActivityByFollowed(): bool
|
public function getActivityByFollowed(): bool
|
||||||
{
|
{
|
||||||
return $this->activity_by_followed;
|
return $this->activity_by_followed;
|
||||||
@ -97,6 +101,7 @@ class UserNotificationPrefs
|
|||||||
$this->mention = $mention;
|
$this->mention = $mention;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getMention(): bool
|
public function getMention(): bool
|
||||||
{
|
{
|
||||||
return $this->mention;
|
return $this->mention;
|
||||||
@ -107,6 +112,7 @@ class UserNotificationPrefs
|
|||||||
$this->reply = $reply;
|
$this->reply = $reply;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getReply(): bool
|
public function getReply(): bool
|
||||||
{
|
{
|
||||||
return $this->reply;
|
return $this->reply;
|
||||||
@ -117,6 +123,7 @@ class UserNotificationPrefs
|
|||||||
$this->follow = $follow;
|
$this->follow = $follow;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFollow(): bool
|
public function getFollow(): bool
|
||||||
{
|
{
|
||||||
return $this->follow;
|
return $this->follow;
|
||||||
@ -127,6 +134,7 @@ class UserNotificationPrefs
|
|||||||
$this->favorite = $favorite;
|
$this->favorite = $favorite;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getFavorite(): bool
|
public function getFavorite(): bool
|
||||||
{
|
{
|
||||||
return $this->favorite;
|
return $this->favorite;
|
||||||
@ -137,6 +145,7 @@ class UserNotificationPrefs
|
|||||||
$this->nudge = $nudge;
|
$this->nudge = $nudge;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getNudge(): bool
|
public function getNudge(): bool
|
||||||
{
|
{
|
||||||
return $this->nudge;
|
return $this->nudge;
|
||||||
@ -147,6 +156,7 @@ class UserNotificationPrefs
|
|||||||
$this->dm = $dm;
|
$this->dm = $dm;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDm(): bool
|
public function getDm(): bool
|
||||||
{
|
{
|
||||||
return $this->dm;
|
return $this->dm;
|
||||||
@ -157,6 +167,7 @@ class UserNotificationPrefs
|
|||||||
$this->post_on_status_change = $post_on_status_change;
|
$this->post_on_status_change = $post_on_status_change;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPostOnStatusChange(): bool
|
public function getPostOnStatusChange(): bool
|
||||||
{
|
{
|
||||||
return $this->post_on_status_change;
|
return $this->post_on_status_change;
|
||||||
@ -167,6 +178,7 @@ class UserNotificationPrefs
|
|||||||
$this->enable_posting = $enable_posting;
|
$this->enable_posting = $enable_posting;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getEnablePosting(): ?bool
|
public function getEnablePosting(): ?bool
|
||||||
{
|
{
|
||||||
return $this->enable_posting;
|
return $this->enable_posting;
|
||||||
@ -177,6 +189,7 @@ class UserNotificationPrefs
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
@ -187,6 +200,7 @@ class UserNotificationPrefs
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
@ -51,6 +51,7 @@ class UserUrlShortenerPrefs
|
|||||||
$this->user_id = $user_id;
|
$this->user_id = $user_id;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUserId(): int
|
public function getUserId(): int
|
||||||
{
|
{
|
||||||
return $this->user_id;
|
return $this->user_id;
|
||||||
@ -61,6 +62,7 @@ class UserUrlShortenerPrefs
|
|||||||
$this->url_shortening_service = $url_shortening_service;
|
$this->url_shortening_service = $url_shortening_service;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getUrlShorteningService(): ?string
|
public function getUrlShorteningService(): ?string
|
||||||
{
|
{
|
||||||
return $this->url_shortening_service;
|
return $this->url_shortening_service;
|
||||||
@ -71,6 +73,7 @@ class UserUrlShortenerPrefs
|
|||||||
$this->max_url_length = $max_url_length;
|
$this->max_url_length = $max_url_length;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getMaxUrlLength(): int
|
public function getMaxUrlLength(): int
|
||||||
{
|
{
|
||||||
return $this->max_url_length;
|
return $this->max_url_length;
|
||||||
@ -81,6 +84,7 @@ class UserUrlShortenerPrefs
|
|||||||
$this->max_notice_length = $max_notice_length;
|
$this->max_notice_length = $max_notice_length;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getMaxNoticeLength(): int
|
public function getMaxNoticeLength(): int
|
||||||
{
|
{
|
||||||
return $this->max_notice_length;
|
return $this->max_notice_length;
|
||||||
@ -91,6 +95,7 @@ class UserUrlShortenerPrefs
|
|||||||
$this->created = $created;
|
$this->created = $created;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getCreated(): DateTimeInterface
|
public function getCreated(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->created;
|
return $this->created;
|
||||||
@ -101,6 +106,7 @@ class UserUrlShortenerPrefs
|
|||||||
$this->modified = $modified;
|
$this->modified = $modified;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getModified(): DateTimeInterface
|
public function getModified(): DateTimeInterface
|
||||||
{
|
{
|
||||||
return $this->modified;
|
return $this->modified;
|
||||||
|
58
src/Util/Form/ProfileArrayTransformer.php
Normal file
58
src/Util/Form/ProfileArrayTransformer.php
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
// {{{ License
|
||||||
|
|
||||||
|
// This file is part of GNU social - https://www.gnu.org/software/social
|
||||||
|
//
|
||||||
|
// GNU social is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as published by
|
||||||
|
// the Free Software Foundation, either version 3 of the License, or
|
||||||
|
// (at your option) any later version.
|
||||||
|
//
|
||||||
|
// GNU social is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with GNU social. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
// }}}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Transform between string and list of typed profiles
|
||||||
|
*
|
||||||
|
* @package GNUsocial
|
||||||
|
* @category Form
|
||||||
|
*
|
||||||
|
* @author Hugo Sales <hugo@fc.up.pt>
|
||||||
|
* @copyright 2020 Free Software Foundation, Inc http://www.fsf.org
|
||||||
|
* @license https://www.gnu.org/licenses/agpl.html GNU AGPL v3 or later
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace App\Util\Form;
|
||||||
|
|
||||||
|
class ProfileArrayTransformer extends ArrayTransformer
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* @param array $a
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function transform($a)
|
||||||
|
{
|
||||||
|
// TODO convert each to string
|
||||||
|
$s = parent::transform($a);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $s
|
||||||
|
*
|
||||||
|
* @return array
|
||||||
|
*/
|
||||||
|
public function reverseTransform($s)
|
||||||
|
{
|
||||||
|
$a = parent::reverseTransform($s);
|
||||||
|
// TODO convert each to profile
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user