[AUTOGENERATED] Update auto generated code

This commit is contained in:
2021-12-26 15:12:06 +00:00
committed by Diogo Peralta Cordeiro
parent 68076d73dd
commit c79b1e4c94
61 changed files with 426 additions and 434 deletions

View File

@@ -47,30 +47,25 @@ class ActivitypubObject extends Entity
// {{{ Autocode
// @codeCoverageIgnoreStart
private string $object_uri;
private int $object_id;
private string $object_type;
private int $object_id;
private DateTimeInterface $created;
private DateTimeInterface $modified;
public function getObjectUri(): string
{
return $this->object_uri;
}
public function setObjectUri(string $object_uri): self
{
$this->object_uri = $object_uri;
return $this;
}
public function getObjectId(): int
public function getObjectUri(): string
{
return $this->object_id;
return $this->object_uri;
}
public function setObjectId(int $object_id): self
public function setObjectType(string $object_type): self
{
$this->object_id = $object_id;
$this->object_type = mb_substr($object_type, 0, 32);
return $this;
}
@@ -79,12 +74,17 @@ class ActivitypubObject extends Entity
return $this->object_type;
}
public function setObjectType(string $object_type): self
public function setObjectId(int $object_id): self
{
$this->object_type = $object_type;
$this->object_id = $object_id;
return $this;
}
public function getObjectId(): int
{
return $this->object_id;
}
public function setCreated(DateTimeInterface $created): self
{
$this->created = $created;