[AUTOGENERATED] Update auto generated code
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user