sprintf
This commit is contained in:
parent
c16cfbbcd8
commit
6fd8e00470
@ -22,7 +22,7 @@ class Command extends BaseCommand
|
|||||||
*/
|
*/
|
||||||
protected function execute(InputInterface $input, OutputInterface $output)
|
protected function execute(InputInterface $input, OutputInterface $output)
|
||||||
{
|
{
|
||||||
$this->line(printf('[%s] 开始%s', date("Y-m-d H:i:s"), $this->description));
|
$this->line(sprintf('[%s] 开始%s', date("Y-m-d H:i:s"), $this->description));
|
||||||
|
|
||||||
begin_time_consuming();
|
begin_time_consuming();
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ class Command extends BaseCommand
|
|||||||
*/
|
*/
|
||||||
protected function execute(InputInterface $input, OutputInterface $output)
|
protected function execute(InputInterface $input, OutputInterface $output)
|
||||||
{
|
{
|
||||||
$this->line(printf('[%s] 开始%s', date("Y-m-d H:i:s"), $this->description));
|
$this->line(sprintf('[%s] 开始%s', date("Y-m-d H:i:s"), $this->description));
|
||||||
|
|
||||||
begin_time_consuming();
|
begin_time_consuming();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user