You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
548 B
20 lines
548 B
<?php
|
|
|
|
namespace addons\shopro\library\activity\getter;
|
|
|
|
use addons\shopro\library\activity\contract\ActivityGetterInterface;
|
|
use addons\shopro\library\activity\Activity as ActivityManager;
|
|
|
|
abstract class Base implements ActivityGetterInterface
|
|
{
|
|
protected $manager = null;
|
|
protected $model = null;
|
|
|
|
public function __construct(ActivityManager $activityManager)
|
|
{
|
|
$this->manager = $activityManager;
|
|
|
|
$this->model = $activityManager->model;
|
|
$this->redis = $activityManager->redis;
|
|
}
|
|
} |