You are here

protected function RestfulBase::formatter in RESTful 7

Get the formatter handler for the current restful formatter.

Return value

\RestfulFormatterInterface The formatter handler.

File

plugins/restful/RestfulBase.php, line 552
Contains RestfulBase.

Class

RestfulBase
Class \RestfulBase

Code

protected function formatter() {
  return \RestfulManager::outputFormat($this);
}