Laravel version update
Laravel version update
This commit is contained in:
14
vendor/phpunit/php-timer/README.md
vendored
14
vendor/phpunit/php-timer/README.md
vendored
@@ -6,13 +6,13 @@ Utility class for timing things, factored out of PHPUnit into a stand-alone comp
|
||||
|
||||
## Installation
|
||||
|
||||
To add this package as a local, per-project dependency to your project, simply add a dependency on `phpunit/php-timer` to your project's `composer.json` file. Here is a minimal example of a `composer.json` file that just defines a dependency on PHP_Timer:
|
||||
You can add this library as a local, per-project dependency to your project using [Composer](https://getcomposer.org/):
|
||||
|
||||
{
|
||||
"require": {
|
||||
"phpunit/php-timer": "~1.0"
|
||||
}
|
||||
}
|
||||
composer require phpunit/php-timer
|
||||
|
||||
If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:
|
||||
|
||||
composer require --dev phpunit/php-timer
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -21,8 +21,6 @@ To add this package as a local, per-project dependency to your project, simply a
|
||||
```php
|
||||
PHP_Timer::start();
|
||||
|
||||
$timer->start();
|
||||
|
||||
// ...
|
||||
|
||||
$time = PHP_Timer::stop();
|
||||
|
Reference in New Issue
Block a user