class UrlObserver (View source)

Methods

void
created(Url $url)

Handle the Url "created" event.

void
updated(Url $url)

Handle the User "updated" event.

void
deleted(Url $url)

Handle the Url "deleted" event.

void
ensureOnlyOneDefault(Url $savedUrl)

Ensures that only one default channel exists.

Details

void created(Url $url)

Handle the Url "created" event.

Parameters

Url $url

Return Value

void

void updated(Url $url)

Handle the User "updated" event.

Parameters

Url $url

Return Value

void

void deleted(Url $url)

Handle the Url "deleted" event.

Parameters

Url $url

Return Value

void

protected void ensureOnlyOneDefault(Url $savedUrl)

Ensures that only one default channel exists.

Parameters

Url $savedUrl

The url that was just saved.

Return Value

void