public function plugin_loaded( string $plugin ): void {

		$time            = microtime( true );
		$this->entries[] = [
			'name'     => $plugin,
			'origin'   => $this->last,
			'duration' => $time - $this->last,
		];
		$this->last      = $time;
	}
public function plugin_loaded( string $plugin ): void {

		$time            = microtime( true );
		$this->entries[] = [
			'name'     => $plugin,
			'origin'   => $this->last,
			'duration' => $time - $this->last,
		];
		$this->last      = $time;
	}
public function plugin_loaded ( string $ plugin ) : void { $ time = microtime ( true ) ; $ this -> entries [ ] = [ 'name' => $ plugin , 'origin' => $ this -> last , 'duration' => $ time - $ this -> last , ] ; $ this -> last = $ time ; }
Records time for a plugin that just finished loading.

@param string $plugin Plugin file path.
Records time for a plugin that just finished loading .