Skip to content

Commit ed9820e

Browse files
committed
📝 added dockblock for collections
1 parent 821cbc4 commit ed9820e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/Entities/Environment.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
namespace TapestryCloud\Database\Entities;
44

5+
use Doctrine\Common\Collections\Collection;
6+
57
/**
68
* @Entity
79
* @Table(name="environments")
@@ -38,6 +40,9 @@ public function setName($name)
3840
$this->name = $name;
3941
}
4042

43+
/**
44+
* @return Collection|ContentType[]
45+
*/
4146
public function getContentTypes()
4247
{
4348
return $this->contentTypes;
@@ -48,6 +53,9 @@ public function addContentType(ContentType $contentType)
4853
$this->contentTypes[] = $contentType;
4954
}
5055

56+
/**
57+
* @return Collection|File[]
58+
*/
5159
public function getFiles()
5260
{
5361
return $this->files;

0 commit comments

Comments
 (0)