# packeta/2.3.1/src/Packetery/Module/Dashboard/DashboardItem.php

Packeta, version 2.3.1. 68 lines.

- Page: https://pluginprobe.com/plugins/packeta/2.3.1/code/src/Packetery/Module/Dashboard/DashboardItem.php
- Raw: https://pluginprobe.com/plugins/packeta/2.3.1/raw/src/Packetery/Module/Dashboard/DashboardItem.php
- Modified: 2025-08-28T06:15:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/packeta/2.3.1/code/src/Packetery/Module/Dashboard/DashboardItem.php#L10-L20`.

```php
<?php

declare( strict_types=1 );

namespace Packetery\Module\Dashboard;

class DashboardItem {

	/**
	 * @var string
	 */
	private $caption;

	/**
	 * @var string|null
	 */
	private $url;

	/**
	 * @var string
	 */
	private $description;

	/**
	 * @var int
	 */
	private $sortOrder;

	/**
	 * @var bool
	 */
	private $isFinished;

	public function __construct(
		string $caption,
		?string $url,
		string $description,
		int $sortOrder,
		bool $isFinished
	) {
		$this->caption     = $caption;
		$this->url         = $url;
		$this->description = $description;
		$this->sortOrder   = $sortOrder;
		$this->isFinished  = $isFinished;
	}

	public function getCaption(): string {
		return $this->caption;
	}

	public function getUrl(): ?string {
		return $this->url;
	}

	public function getDescription(): string {
		return $this->description;
	}

	public function getSortOrder(): int {
		return $this->sortOrder;
	}

	public function isFinished(): bool {
		return $this->isFinished;
	}
}

```
