more refactoring for dependency injection.
This commit is contained in:
@@ -14,11 +14,6 @@ class Benchmark {
|
||||
*
|
||||
* The elapsed time since setting a benchmark may checked via the "check" method.
|
||||
*
|
||||
* <code>
|
||||
* // Set a benchmark starting time
|
||||
* Benchmark::start('database');
|
||||
* </code>
|
||||
*
|
||||
* @param string $name
|
||||
* @return void
|
||||
*/
|
||||
@@ -30,11 +25,6 @@ class Benchmark {
|
||||
/**
|
||||
* Get the elapsed time in milliseconds since starting a benchmark.
|
||||
*
|
||||
* <code>
|
||||
* // Get the elapsed time since starting a benchmark
|
||||
* $time = Benchmark::check('database');
|
||||
* </code>
|
||||
*
|
||||
* @param string $name
|
||||
* @return float
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user