Moved events classes.

This commit is contained in:
Andrey Savchenko committed 2018-02-08 10:57:20 +02:00
1 parent c966fb1552
commit b709f968f9
7 files changed
+9 -7

No files matched your search

+3 -1
View File
@@ -2,6 +2,8 @@
namespace Rarst\Laps;
use Rarst\Laps\Events\Core_Events;
use Rarst\Laps\Events\Laps_Events;
use Symfony\Component\Stopwatch\Stopwatch;
/**
@@ -178,7 +180,7 @@ class Laps {
foreach ( [ 'THA', 'Hybrid', 'Genesis', 'Yoast' ] as $vendor ) {
$class = "Rarst\\Laps\\{$vendor}_Events";
$class = "Rarst\\Laps\\Events\\{$vendor}_Events";
/** @var Laps_Events $events */
$events = new $class;
$this->add_events( $events->get() );