public function run(App $app) { foreach ($this->handlers as $handler) { ob_start(); $result = $app->exec_params($handler); $output = ob_get_clean(); if (!$result) { $result = $output; } if ($result) { return $result; } } return false; }