Файл vendor/laravel/framework/src/Illuminate/Database/Eloquent/MissingAttributeException.php Вес запакованого файла 300b (300 b) Вес распакованого файла: 564b (564 b) Метод сжатия: 8
<?php
namespace Illuminate\Database\Eloquent;
use OutOfBoundsException;
class MissingAttributeException extends OutOfBoundsException
{
/**
* Create a new missing attribute exception instance.
*
* @param \Illuminate\Database\Eloquent\Model $model
* @param string $key
* @return void
*/
public function __construct($model, $key)
{
parent::__construct(sprintf(
'The attribute [%s] either does not exist or was not retrieved for model [%s].',
$key, get_class($model)
));
}
}