REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.21 KB
Close
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/wordpress-seo/src/dashboard/domain/traffic/traffic-data.php
Text
Base64
<?php // phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure. namespace Yoast\WP\SEO\Dashboard\Domain\Traffic; use Yoast\WP\SEO\Dashboard\Domain\Data_Provider\Data_Interface; /** * Domain object that represents a single Traffic record. */ class Traffic_Data implements Data_Interface { /** * The sessions, if any. * * @var int|null */ private $sessions; /** * The total users, if any. * * @var int|null */ private $total_users; /** * The array representation of this domain object. * * @return array<string, int> */ public function to_array(): array { $result = []; if ( $this->sessions !== null ) { $result['sessions'] = $this->sessions; } if ( $this->total_users !== null ) { $result['total_users'] = $this->total_users; } return $result; } /** * Sets the sessions. * * @param int $sessions The sessions. * * @return void */ public function set_sessions( int $sessions ): void { $this->sessions = $sessions; } /** * Sets the total users. * * @param int $total_users The total users. * * @return void */ public function set_total_users( int $total_users ): void { $this->total_users = $total_users; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 3
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
comparison-traffic-data.php
1.90 KB
lrw-r--r--
2026-06-03 13:59:46
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
daily-traffic-data.php
1.13 KB
lrw-r--r--
2026-06-03 13:59:46
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
traffic-data.php
1.21 KB
lrw-r--r--
2026-06-03 13:59:46
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).