for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the CwdPowerDNS Client
*
* (c) 2018 cwd.at GmbH <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Cwd\PowerDNSClient\Model\Zone;
use Symfony\Component\Serializer\Annotation\Groups;
use Symfony\Component\Validator\Constraints as Assert;
class Comment
{
/**
* @var string
* @Assert\NotBlank(groups={"CREATE", "UPDATE"})
* @Groups({"REPLACE", "CREATE"})
protected $content;
protected $account;
/** @var int */
protected $modifiedAt;
* @return string
public function getContent(): string
return $this->content;
}
* @param string $content
* @return Comment
public function setContent(string $content): Comment
$this->content = $content;
return $this;
public function getAccount(): ?string
return $this->account;
* @param string $account
public function setAccount(?string $account): Comment
$this->account = $account;
* @return int
public function getModifiedAt(): ?int
return $this->modifiedAt;
* @param int $modifiedAt
public function setModifiedAt(int $modifiedAt): Comment
$this->modifiedAt = $modifiedAt;