[debug]
This commit is contained in:
parent
45c4206686
commit
f73d50cc30
@ -22,6 +22,8 @@ abstract class ModelWithSlug extends Model
|
|||||||
{
|
{
|
||||||
if ($this->slug === null) {
|
if ($this->slug === null) {
|
||||||
$this->slug = $this->generateSlug();
|
$this->slug = $this->generateSlug();
|
||||||
|
var_dump('getSlug called');
|
||||||
|
var_dump($this->slug);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->slug;
|
return $this->slug;
|
||||||
|
@ -97,6 +97,7 @@ class PersistentDataManager implements IPersistentDataManager
|
|||||||
$this->syncRelations($model);
|
$this->syncRelations($model);
|
||||||
|
|
||||||
$modified = $model->toArray();
|
$modified = $model->toArray();
|
||||||
|
var_dump($modified);
|
||||||
$id = $model->getId();
|
$id = $model->getId();
|
||||||
|
|
||||||
$modify = new Modify($this->dbConnection, $model::getTable(), $this->auditLogger);
|
$modify = new Modify($this->dbConnection, $model::getTable(), $this->auditLogger);
|
||||||
|
Loading…
Reference in New Issue
Block a user