/**
* Constructor
*
* @param \Cake\Http\BaseApplication $app The application to use.
* 例、/config
*/
public function __construct(BaseApplication $app)
{
$this->setApp($app);
$this->setRunner(new Runner());
}
/**
* Set the application.
*
* @param BaseApplication $app The application to set.
* @return $this
*/
public function setApp(BaseApplication $app)
{
$this->app = $app;
return $this;
}
/**
* Set the runner
*
* @param \Cake\Http\Runner $runner The runner to use.
* @return $this
*/
public function setRunner(Runner $runner)
{
$this->runner = $runner;
return $this;
}
コメント