# depicter/1.3.3/app/src/Document/Models/Common/Measure/Base.php

Depicter — Popup &amp; Slider Builder, version 1.3.3. 33 lines.

- Page: https://pluginprobe.com/plugins/depicter/1.3.3/code/app/src/Document/Models/Common/Measure/Base.php
- Raw: https://pluginprobe.com/plugins/depicter/1.3.3/raw/app/src/Document/Models/Common/Measure/Base.php
- Modified: 2022-06-01T06:26:20+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/depicter/1.3.3/code/app/src/Document/Models/Common/Measure/Base.php#L10-L20`.

```php
<?php
namespace Depicter\Document\Models\Common\Measure;


class Base
{
	/**
	 * @var string
	 */
	public $default;

	/**
	 * @var string
	 */
	public $unit;

	/**
	 * @var mixed
	 */
	public $value;


	public function __construct( $value )
	{
		$this->value = $value;
	}

	public function __toString()
	{
		return ! empty( $this->unit ) ? $this->value . $this->unit : $this->value;
	}
}

```
