behaviors\SluggableBehavior $value

$value public property

The value that will be used as a slug. This can be an anonymous function or an arbitrary value. If the former, the return value of the function will be used as a slug. The signature of the function should be as follows,

function ($event)
{
    // return slug
}
public string|callable $value = null
doc_Yii
2016-10-30 16:52:51
Comments
Leave a Comment

Please login to continue.