Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Commit c6fc807

Browse files
author
Tito Costa
committed
renamed field createdAt to just created
1 parent bdf262d commit c6fc807

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

Entity/FormErrorLog.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,27 +24,27 @@ class FormErrorLog implements FormErrorLogEntityInterface
2424

2525
/**
2626
* @ORM\Column(name="form_name", type="string", length=255)
27-
* @var type
27+
* @var type
2828
*/
2929
private $form_name;
3030

3131
/**
3232
* @var string $field
33-
*
33+
*
3434
* @ORM\Column(name="field", type="string", length=255)
3535
*/
3636
private $field;
3737

3838
/**
3939
* @var string $error
40-
*
40+
*
4141
* @ORM\Column(name="error", type="string", length=2000)
4242
*/
4343
private $error;
4444

4545
/**
4646
* @var string $error
47-
*
47+
*
4848
* @ORM\Column(name="value", type="string", length=2000)
4949
*/
5050
private $value;
@@ -59,7 +59,7 @@ class FormErrorLog implements FormErrorLogEntityInterface
5959
/**
6060
* @ORM\Column(type="datetime")
6161
*/
62-
private $createdAt;
62+
private $created;
6363

6464
public function getFormName()
6565
{
@@ -113,24 +113,24 @@ public function getUri()
113113
return $this->uri;
114114
}
115115

116-
public function getCreatedAt()
116+
public function getCreated()
117117
{
118-
return $this->createdAt;
118+
return $this->created;
119119
}
120120

121-
public function setCreatedAt(\DateTime $createdAt)
121+
public function setCreated(\DateTime $created)
122122
{
123-
$this->createdAt = $createdAt;
123+
$this->created = $created;
124124

125125
return $this;
126126
}
127127

128128
/**
129129
* @ORM\PrePersist
130130
*/
131-
public function setCreatedAtValue()
131+
public function setCreatedValue()
132132
{
133-
$this->createdAt = new \DateTime();
133+
$this->created = new \DateTime();
134134
}
135135

136136
}

0 commit comments

Comments
 (0)