OCA\OcSms\Controller\ApiController::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( $appName, OCP\IRequest $request, $userId, SmsMapper $mapper )
$request OCP\IRequest
$mapper OCA\OcSms\Db\SmsMapper
    public function __construct($appName, IRequest $request, $userId, SmsMapper $mapper)
    {
        parent::__construct($appName, $request);
        $this->userId = $userId;
        $this->smsMapper = $mapper;
    }