Crud\Action\ViewAction::_handle PHP Method

_handle() protected method

Generic HTTP handler
protected _handle ( string | null $id = null ) : void
$id string | null Record id
return void
    protected function _handle($id = null)
    {
        $subject = $this->_subject();
        $subject->set(['id' => $id]);
        $this->_findRecord($id, $subject);
        $this->_trigger('beforeRender', $subject);
    }
ViewAction