for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Matks\MarkdownBlogBundle\Blog\Register;
use Matks\MarkdownBlogBundle\Blog\Post;
class RegisterEntry
{
/**
* @var string
*/
private $name;
* @var string|null
private $publishDate;
private $category;
* @var string[]
private $tags;
* Might be used to override post name display.
*
private $alias;
private $blogType;
private $url;
* @param string $name
* @param string $publishDate
* @param string $category
* @param string[] $tags
* @param string $alias
* @param string $blogType
* @param string $url
public function __construct($name, $publishDate = null, $category = null, $tags = [], $alias = null, $blogType = Post::TYPE_STANDARD, $url = null)
$this->category = $category;
$this->name = $name;
$this->publishDate = $publishDate;
$this->tags = $tags;
$this->alias = $alias;
$this->blogType = $blogType;
$this->url = $url;
}
* @return string|null
public function getCategory()
return $this->category;
* @return string
public function getName()
return $this->name;
public function getPublishDate()
return $this->publishDate;
* @return string[]
public function getTags()
return $this->tags;
public function getAlias()
return $this->alias;
public function getBlogType()
return $this->blogType;
public function getUrl()
return $this->url;