[AUTOGENERATED] Update autogenerated code

This commit is contained in:
Hugo Sales 2021-05-05 16:03:03 +00:00
parent 10c79bcafe
commit d31c3b1784
Signed by untrusted user: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
47 changed files with 228 additions and 176 deletions

View File

@ -38,6 +38,7 @@ use DateTimeInterface;
class ForeignLink
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $user_id;
private int $foreign_id;
private int $service;
@ -127,51 +128,51 @@ class ForeignLink
return $this->profilesync;
}
public function setLastNoticesync(?\DateTimeInterface $last_noticesync): self
public function setLastNoticesync(?DateTimeInterface $last_noticesync): self
{
$this->last_noticesync = $last_noticesync;
return $this;
}
public function getLastNoticesync(): ?\DateTimeInterface
public function getLastNoticesync(): ?DateTimeInterface
{
return $this->last_noticesync;
}
public function setLastFriendsync(?\DateTimeInterface $last_friendsync): self
public function setLastFriendsync(?DateTimeInterface $last_friendsync): self
{
$this->last_friendsync = $last_friendsync;
return $this;
}
public function getLastFriendsync(): ?\DateTimeInterface
public function getLastFriendsync(): ?DateTimeInterface
{
return $this->last_friendsync;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -38,6 +38,7 @@ use DateTimeInterface;
class ForeignService
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $id;
private string $name;
private ?string $description;
@ -77,29 +78,29 @@ class ForeignService
return $this->description;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -38,6 +38,7 @@ use DateTimeInterface;
class ForeignSubscription
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $service;
private int $subscriber;
private int $subscribed;
@ -76,18 +77,18 @@ class ForeignSubscription
return $this->subscribed;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -38,6 +38,7 @@ use DateTimeInterface;
class ForeignUser
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $id;
private int $service;
private string $uri;
@ -89,29 +90,29 @@ class ForeignUser
return $this->nickname;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -48,6 +48,7 @@ use DateTimeInterface;
class AttachmentEmbed extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $attachment_id;
private ?string $mimetype;
private ?string $filename;
@ -205,6 +206,7 @@ class AttachmentEmbed extends Entity
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public function getAttachmentUrl()

View File

@ -25,6 +25,7 @@ use DateTimeInterface;
class Favourite extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $note_id;
private int $gsactor_id;
private \DateTimeInterface $created;
@ -52,29 +53,29 @@ class Favourite extends Entity
return $this->gsactor_id;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef()

View File

@ -38,6 +38,7 @@ use DateTimeInterface;
class Poll extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $id;
private ?string $uri;
private ?int $gsactor_id;
@ -113,29 +114,29 @@ class Poll extends Entity
return $this->options;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
/**

View File

@ -38,6 +38,7 @@ use DateTimeInterface;
class PollResponse extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $id;
private ?string $uri;
private int $poll_id;
@ -101,29 +102,29 @@ class PollResponse extends Entity
return $this->selection;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
/**

View File

@ -56,7 +56,8 @@ abstract class DB
private static array $table_map = [];
public static function initTableMap()
{
foreach (self::$em->getMetadataFactory()->getAllMetadata() as $meta) {
$all = self::$em->getMetadataFactory()->getAllMetadata();
foreach ($all as $meta) {
self::$table_map[$meta->getTableName()] = $meta->getMetadataValue('name');
}
}

View File

@ -38,6 +38,7 @@ use DateTimeInterface;
class Activity extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $id;
private int $gsactor_id;
private string $verb;
@ -124,18 +125,18 @@ class Activity extends Entity
return $this->source;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -43,6 +43,7 @@ use DateTimeInterface;
class Attachment extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $id;
private ?string $remote_url;
private ?string $remote_url_hash;
@ -224,6 +225,7 @@ class Attachment extends Entity
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
const URLHASH_ALGO = 'sha256';

View File

@ -50,6 +50,7 @@ use DateTimeInterface;
class AttachmentThumbnail extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $attachment_id;
private int $width;
private int $height;
@ -111,6 +112,7 @@ class AttachmentThumbnail extends Entity
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
private Attachment $attachment;

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class AttachmentToNote extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $attachment_id;
private int $note_id;
private \DateTimeInterface $modified;
@ -65,18 +66,18 @@ class AttachmentToNote extends Entity
return $this->note_id;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -44,6 +44,7 @@ use DateTimeInterface;
class Avatar extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $gsactor_id;
private int $attachment_id;
private \DateTimeInterface $created;
@ -71,29 +72,29 @@ class Avatar extends Entity
return $this->attachment_id;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
private ?Attachment $attachment = null;

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class ConfirmAddress extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private string $code;
private ?int $user_id;
private string $address;
@ -103,40 +104,40 @@ class ConfirmAddress extends Entity
return $this->address_type;
}
public function setClaimed(?\DateTimeInterface $claimed): self
public function setClaimed(?DateTimeInterface $claimed): self
{
$this->claimed = $claimed;
return $this;
}
public function getClaimed(): ?\DateTimeInterface
public function getClaimed(): ?DateTimeInterface
{
return $this->claimed;
}
public function setSent(\DateTimeInterface $sent): self
public function setSent(DateTimeInterface $sent): self
{
$this->sent = $sent;
return $this;
}
public function getSent(): \DateTimeInterface
public function getSent(): DateTimeInterface
{
return $this->sent;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class Conversation extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $id;
private int $note_id;
private \DateTimeInterface $created;
@ -66,29 +67,29 @@ class Conversation extends Entity
return $this->note_id;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class Cover extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $gsactor_id;
private int $attachment_id;
private \DateTimeInterface $created;
@ -66,29 +67,29 @@ class Cover extends Entity
return $this->attachment_id;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
private ?Attachment $attachment = null;

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class Follow extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $follower;
private int $followed;
private \DateTimeInterface $created;
@ -66,29 +67,29 @@ class Follow extends Entity
return $this->followed;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class FollowQueue extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $follower;
private int $followed;
private \DateTimeInterface $created;
@ -65,18 +66,18 @@ class FollowQueue extends Entity
return $this->followed;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -46,6 +46,7 @@ use Functional as F;
class GSActor extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $id;
private string $nickname;
private string $normalized_nickname;
@ -215,6 +216,7 @@ class GSActor extends Entity
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public function getAvatarUrl()

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class GSActorBlock extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $blocker;
private int $blocked;
private \DateTimeInterface $modified;
@ -65,18 +66,18 @@ class GSActorBlock extends Entity
return $this->blocked;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class GSActorCircle extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $tagger;
private string $tag;
private ?string $description;
@ -90,29 +91,29 @@ class GSActorCircle extends Entity
return $this->private;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class GSActorTag extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $tagger;
private int $tagged;
private string $tag;
@ -77,18 +78,18 @@ class GSActorTag extends Entity
return $this->tag;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class GSActorTagFollow extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $gsactor_id;
private int $gsactor_tag;
private \DateTimeInterface $created;
@ -66,29 +67,29 @@ class GSActorTagFollow extends Entity
return $this->gsactor_tag;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class Group extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $id;
private int $gsactor_id;
private ?string $nickname;
@ -234,29 +235,29 @@ class Group extends Entity
return $this->force_scope;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class GroupAlias extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private string $alias;
private int $group_id;
private \DateTimeInterface $modified;
@ -65,18 +66,18 @@ class GroupAlias extends Entity
return $this->group_id;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class GroupBlock extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $group_id;
private int $blocked_gsactor;
private int $blocker_user;
@ -77,18 +78,18 @@ class GroupBlock extends Entity
return $this->blocker_user;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class GroupInbox extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $group_id;
private int $activity_id;
private \DateTimeInterface $created;
@ -65,18 +66,18 @@ class GroupInbox extends Entity
return $this->activity_id;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -38,6 +38,7 @@ use App\Core\Entity;
class GroupJoinQueue extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $gsactor_id;
private int $group_id;
@ -63,7 +64,7 @@ class GroupJoinQueue extends Entity
return $this->group_id;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class GroupMember extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $group_id;
private int $gsactor_id;
private ?bool $is_admin;
@ -90,29 +91,29 @@ class GroupMember extends Entity
return $this->uri;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class Invitation extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private string $code;
private int $user_id;
private string $address;
@ -101,18 +102,18 @@ class Invitation extends Entity
return $this->registered_user_id;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -41,6 +41,7 @@ use DateTimeInterface;
class LocalGroup extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $group_id;
private ?string $nickname;
private \DateTimeInterface $created;
@ -90,6 +91,7 @@ class LocalGroup extends Entity
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public function getActor()

View File

@ -47,6 +47,7 @@ use Symfony\Component\Security\Core\User\UserInterface;
class LocalUser extends Entity implements UserInterface
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $id;
private string $nickname;
private ?string $password;
@ -230,29 +231,29 @@ class LocalUser extends Entity implements UserInterface
return $this->is_stream_private;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public function getActor()

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class LocationService extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $id;
private ?string $description;
private \DateTimeInterface $created;
@ -66,29 +67,29 @@ class LocationService extends Entity
return $this->description;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -41,6 +41,7 @@ use DateTimeInterface;
class Note extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $id;
private int $gsactor_id;
private ?string $content;
@ -164,29 +165,29 @@ class Note extends Entity
return $this->scope;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public function getActorNickname()

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class NoteLocation extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $note_id;
private ?float $lat;
private ?float $lon;
@ -101,18 +102,18 @@ class NoteLocation extends Entity
return $this->location_service;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class NoteSource extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private string $code;
private string $name;
private string $url;
@ -77,18 +78,18 @@ class NoteSource extends Entity
return $this->url;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class NoteTag extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private string $tag;
private int $note_id;
private \DateTimeInterface $created;
@ -65,18 +66,18 @@ class NoteTag extends Entity
return $this->note_id;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class Notification extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $activity_id;
private int $gsactor_id;
private ?string $reason;
@ -78,29 +79,29 @@ class Notification extends Entity
return $this->reason;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,7 @@ use DateTimeInterface;
class ProfileColor extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $gsactor_id;
private string $color;
private \DateTimeInterface $created;
@ -64,29 +65,29 @@ class ProfileColor extends Entity
return $this->color;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array
{

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class RelatedGroup extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $group_id;
private int $related_group_id;
private \DateTimeInterface $created;
@ -65,18 +66,18 @@ class RelatedGroup extends Entity
return $this->related_group_id;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,7 @@ use DateTimeInterface;
class RememberMeToken extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private string $series;
private string $value;
private \DateTimeInterface $lastused;
@ -65,13 +66,13 @@ class RememberMeToken extends Entity
return $this->value;
}
public function setLastused(\DateTimeInterface $lastused): self
public function setLastused(DateTimeInterface $lastused): self
{
$this->lastused = $lastused;
return $this;
}
public function getLastused(): \DateTimeInterface
public function getLastused(): DateTimeInterface
{
return $this->lastused;
}
@ -98,7 +99,7 @@ class RememberMeToken extends Entity
return $this->username;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class ReservedNickname extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private string $nickname;
private \DateTimeInterface $created;
@ -53,18 +54,18 @@ class ReservedNickname extends Entity
return $this->nickname;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class SmsCarrier extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $id;
private ?string $name;
private string $email_pattern;
@ -78,29 +79,29 @@ class SmsCarrier extends Entity
return $this->email_pattern;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -37,6 +37,7 @@ use DateTimeInterface;
class UserLocationPrefs extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $user_id;
private ?bool $share_location;
private \DateTimeInterface $created;
@ -64,29 +65,29 @@ class UserLocationPrefs extends Entity
return $this->share_location;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -35,6 +35,7 @@ use DateTimeInterface;
class UserNotificationPrefs extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $user_id;
private string $transport;
private ?int $target_gsactor_id;
@ -182,29 +183,29 @@ class UserNotificationPrefs extends Entity
return $this->enable_posting;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array

View File

@ -39,6 +39,7 @@ use DateTimeInterface;
class UserUrlShortenerPrefs extends Entity
{
// {{{ Autocode
// @codeCoverageIgnoreStart
private int $user_id;
private ?string $url_shortening_service;
private int $max_url_length;
@ -90,29 +91,29 @@ class UserUrlShortenerPrefs extends Entity
return $this->max_notice_length;
}
public function setCreated(\DateTimeInterface $created): self
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getCreated(): \DateTimeInterface
public function getCreated(): DateTimeInterface
{
return $this->created;
}
public function setModified(\DateTimeInterface $modified): self
public function setModified(DateTimeInterface $modified): self
{
$this->modified = $modified;
return $this;
}
public function getModified(): \DateTimeInterface
public function getModified(): DateTimeInterface
{
return $this->modified;
}
// @codeCoverageIgnoreEnd
// }}} Autocode
public static function schemaDef(): array