| @@ -1,6 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | +defined( 'ABSPATH' ) || exit; | |
| 4 | + | |
| 5 | + | |
| 3 | 6 | /** |
| 4 | 7 | * Trait Datafeedr_Timer |
| 5 | 8 | * |
| 6 | 9 | * Imports timer functionality into any class. |
| @@ -75,5 +78,5 @@ | ||
| 75 | 78 | */ |
| 76 | 79 | public function elapsed_time() { |
| 77 | 80 | return ( $this->time_stop - $this->time_start ); |
| 78 | 81 | } |
| 79 | -} | |
| 82 | +} | |