forked from miguel456/rbrecruiter
Miguel Nogueira
4eb115d165
This reverts pull request #6. > This pull request applies code style fixes from an analysis carried out by [StyleCI](https://bitbucket.styleci.io). > > For more information, click [here](https://bitbucket.styleci.io/analyses/a2Jl7D).
65 lines
1.1 KiB
PHP
65 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace App\Observers;
|
|
|
|
use App\Vacancy;
|
|
|
|
|
|
class VacancyObserver
|
|
{
|
|
/**
|
|
* Handle the vacancy "created" event.
|
|
*
|
|
* @param \App\Vacancy $vacancy
|
|
* @return void
|
|
*/
|
|
public function created(Vacancy $vacancy)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Handle the vacancy "updated" event.
|
|
*
|
|
* @param \App\Vacancy $vacancy
|
|
* @return void
|
|
*/
|
|
public function updated(Vacancy $vacancy)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Handle the vacancy "deleted" event.
|
|
*
|
|
* @param \App\Vacancy $vacancy
|
|
* @return void
|
|
*/
|
|
public function deleted(Vacancy $vacancy)
|
|
{
|
|
// TODO: Handle deletion of children's data
|
|
}
|
|
|
|
/**
|
|
* Handle the vacancy "restored" event.
|
|
*
|
|
* @param \App\Vacancy $vacancy
|
|
* @return void
|
|
*/
|
|
public function restored(Vacancy $vacancy)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Handle the vacancy "force deleted" event.
|
|
*
|
|
* @param \App\Vacancy $vacancy
|
|
* @return void
|
|
*/
|
|
public function forceDeleted(Vacancy $vacancy)
|
|
{
|
|
//
|
|
}
|
|
}
|