for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Itstructure\MFU\Classes;
/**
* Class ThumbConfig
*/
class ThumbConfig
{
* @var string
private $alias;
private $name;
* @var int|null
private $width;
private $height;
* @var string|null
private $mode;
* ThumbConfig constructor.
* @param string $alias
* @param string $name
* @param int|null $width
* @param int|null $height
* @param string|null $mode
public function __construct(string $alias, string $name, ?int $width, ?int $height, string $mode = null)
$this->alias = $alias;
$this->name = $name;
$this->width = $width;
$this->height = $height;
$this->mode = $mode;
}
* @return string
public function getAlias(): string
return $this->alias;
public function getName(): string
return $this->name;
* @return int|null
public function getWidth()
return $this->width;
public function getHeight()
return $this->height;
* @return string|null
public function getMode(): ?string
return $this->mode;