for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace JsonFieldCast\Json;
use Illuminate\Database\Eloquent\Model;
/**
* @method static string|null getCastableClassByModel(Model $model, array $data = [])
*/
abstract class AbstractMeta implements \JsonSerializable
{
use HasDataArrayWithAttributes;
protected Model $model;
protected array $data;
public function __construct(Model $model, array $data = [])
$this->data = $data;
$this->model = $model;
}