Spaces:
Paused

matomo / tests /PHPUnit /Framework /Mock /Plugin /CustomUserLogTable.php
Leon4gr45's picture
Upload folder using huggingface_hub (part 55)
bf8c0ce verified
Raw History Blame Contribute Delete
457 Bytes
<?php
namespace Piwik\Tests\Framework\Mock\Plugin;
use Piwik\Tracker\LogTable;
class CustomUserLogTable extends LogTable
{
public function getName()
{
return 'log_custom';
}
public function getIdColumn()
{
return 'user_id';
}
public function getPrimaryKey()
{
return ['user_id'];
}
public function getWaysToJoinToOtherLogTables()
{
return ['log_visit' => 'user_id'];
}
}