Controller method that does a lot - eh not. (php)

2016/10/21 14:29:33
Author Profile Picture

posted by

@tobi812

Function was found in an abstract controller class.



/**
 * @param array $data
 *
 * @return array
 */
protected function viewResponse(array $data = [])
{
    return $data;
}
Share on Google+