public function model_call_matches_slug_insist(Jam_Model $model, Jam_Event_Data $data, $slug) { if (!$model->matches_slug($slug)) { throw new Jam_Exception_Slugmismatch("Stale slug :slug for model :model ", $model, $slug); } $data->return = TRUE; }
public function model_call_matches_slug_insist(Jam_Model $model, Jam_Event_Data $data, $slug) { if (!$model->matches_slug($slug)) { throw new Jam_Exception_Slugmismatch("Stale slug :slug for model :model ", $model, $slug); } $data->return = TRUE; }