Asf_AbstractService::getResponse

获取当前 Asf_Response 实例


Description

public function getResponse(void)

Parameters

Return Values

Asf_Response object

Examples

Example #1

<?php
class IndexService extends Asf_AbstractService
{
    public function IndexAction()
    {
        print_r($this->getResponse());   
    }
}

$configs = array(
    'asf' => array(
        'root_path'  => __DIR__,
    )
);

$handle = new Asf_Application($configs);
$handle->run();