public function __construct($permalinkFormat = '%year%/%month%/%day%/%slug%.html', Path $path = null) { $this->permalinkFormat = $permalinkFormat; $this->path = $path ?: new Path(); }