I know to get the last id I can use insertGetId() but I want to know how can I get the last inserted id through save() method.
insertGetId()
save()
order =
In case of you did overwride the name of primary key in the model as in next case:
protected $primaryKey = 'your_table_id_name';
use:
$id = $your_variable_save->your_table_id_name
if not:
$id = $your_variable_save->id