for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Doctrine\Migrations;
use Symfony\Component\Stopwatch\Stopwatch as SymfonyStopwatch;
use Symfony\Component\Stopwatch\StopwatchEvent;
class Stopwatch
{
/** @var SymfonyStopwatch */
private $symfonyStopwatch;
public function __construct(SymfonyStopwatch $symfonyStopwatch)
$this->symfonyStopwatch = $symfonyStopwatch;
}
public function start(string $section) : StopwatchEvent
return $this->symfonyStopwatch->start($section);