for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Slince/China package.
*
* (c) Slince <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace China\Command\Dashboard;
use China\China;
use Symfony\Component\Console\Command\Command;
class DashboardCommand extends Command
{
/**
* @var China
protected $china;
* 获取china对象
* @return China
protected function getChina()
if (is_null($this->china)) {
$this->china = new China();
}
return $this->china;