File "CannotSetComputedValue.php"
Full Path: /var/www/html/back/vendor/spatie/laravel-data/src/Exceptions/CannotSetComputedValue.php
File size: 364 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Spatie\LaravelData\Exceptions;
use Exception;
use Spatie\LaravelData\Support\DataProperty;
class CannotSetComputedValue extends Exception
{
public static function create(DataProperty $property): self
{
return new self("Cannot set property {$property->className}::\${$property->name} because it is a computed property.");
}
}