File "DataStructureProperty.php"
Full Path: /var/www/html/back/vendor/spatie/laravel-data/src/Support/DataStructureProperty.php
File size: 476 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Spatie\LaravelData\Support;
/**
* @template T
*/
class DataStructureProperty
{
/** @var T */
protected mixed $resolved;
/**
* @return T
* @note Will only be called when cached and thus already resolved
*/
public function resolve()
{
return $this->resolved;
}
/**
* @param T $resolved
*/
public function setResolved(mixed $resolved): void
{
$this->resolved = $resolved;
}
}