* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Domain\Attachment\QueryResult; /** * Stores attachment path and original name information. */ class Attachment { /** * @var string */ private $path; /** * @var string */ private $name; /** * @param string $path * @param string $name */ public function __construct(string $path, string $name) { $this->path = $path; $this->name = $name; } /** * @return string */ public function getPath(): string { return $this->path; } /** * @return string */ public function getName(): string { return $this->name; } }