for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @link https://github.com/yiimaker/yii2-social-share
* @copyright Copyright (c) 2017-2021 Volodymyr Kupriienko
* @license BSD 3-Clause License
*/
namespace ymaker\social\share\drivers;
use ymaker\social\share\base\AbstractDriver;
* Driver for Google Plus.
*
* @see https://plus.google.com
* @author Vladimir Kuprienko <[email protected]>
* @since 1.0
class GooglePlus extends AbstractDriver
{
* {@inheritdoc}
protected function processShareData()
$this->url = static::encodeData($this->url);
}
protected function buildLink()
return 'https://plusone.google.com/_/+1/confirm?hl=en&url={url}';