<?php
class ProfileController extends Yaf_Controller_Abstract
{
public function updateAction()
{
// Assuming the request was sent with PATCH /profile/update
var_dump($this->getRequest()->isPatch());
}
}
?>
The above example will output
something similar to: