This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Process post data and call create | |
* | |
* @param Request $request | |
*/ | |
public function processPostData(Request $request) | |
{ | |
$contentType = $request->getHeaders('Content-Type')->getFieldValue(); | |
switch(true) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Expected to return \Zend\ServiceManager\Config object or array to | |
* seed such an object. | |
* | |
* @return array|\Zend\ServiceManager\Config | |
*/ | |
public function getViewHelperConfig() | |
{ | |
return array( | |
'initializers' => array( |