| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 55 | public function __construct($name, $publishDate = null, $category = null, $tags = [], $alias = null, $blogType = Post::TYPE_STANDARD, $url = null) |
||
| 56 | { |
||
| 57 | 1 | $this->category = $category; |
|
| 58 | 1 | $this->name = $name; |
|
| 59 | 1 | $this->publishDate = $publishDate; |
|
| 60 | 1 | $this->tags = $tags; |
|
| 61 | 1 | $this->alias = $alias; |
|
| 62 | 1 | $this->blogType = $blogType; |
|
| 63 | 1 | $this->url = $url; |
|
| 64 | 1 | } |
|
| 65 | |||
| 122 |