for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the Setup package.
*
* (c) Sitewards GmbH
*/
namespace Sitewards\Setup\Domain\Page;
use JMS\Serializer\Annotation\Type;
final class Page implements PageInterface
{
* @var string
* @Type("string")
private $identifier;
private $title;
private $content;
* @var bool
* @Type("boolean")
private $active;
* @param string $identifier
* @param string $title
* @param string $content
* @param boolean $active
public function __construct(
$identifier,
$title,
$content,
$active
)
$this->identifier = $identifier;
$this->title = $title;
$this->content = $content;
$this->active = $active;
}
* {@inheritdoc}
public function getIdentifier()
return $this->identifier;
public function getTitle()
return $this->title;
public function getContent()
return $this->content;
public function getActive()
return $this->active;