blue-twilight/app/ModelObservers/LabelObserver.php

13 lines
165 B
PHP
Raw Normal View History

<?php
namespace App\ModelObservers;
use App\Label;
class LabelObserver
{
public function creating(Label $label)
{
$label->generateAlias();
}
}