src/Rocketeer/Console/Commands/AbstractCommand.php
public function time(callable $callback)
    {
        $results = $this->timer->time($this, $callback);
        $time = $this->timer->getLatestTime($this);

        $this->explainer->line('Execution time: <comment>'.$time.'s</comment>');

        return $results;
    }
public function time(callable $callback)
    {
        $results = $this->timer->time($this, $callback);
        $time = $this->timer->getLatestTime($this);

        $this->explainer->line('Execution time: <comment>'.$time.'s</comment>');

        return $results;
    }
public function time ( callable $ callback ) { $ results = $ this -> timer -> time ( $ this , $ callback ) ; $ time = $ this -> timer -> getLatestTime ( $ this ) ; $ this -> explainer -> line ( 'Execution time: <comment>' . $ time . 's</comment>' ) ; return $ results ; }
Time an operation and display it afterwards.

@param callable $callback

@return bool
Time an operation and display it afterwards .