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 Trello.
*
* @see https://trello.com
* @author Vladimir Kuprienko <[email protected]>
* @since 2.2
class Trello extends AbstractDriver
{
* {@inheritdoc}
protected function processShareData()
$this->url = static::encodeData($this->url);
$this->title = static::encodeData($this->title);
}
protected function buildLink()
return 'https://trello.com/add-card'
. '?url={url}'
. '&name={title}'
;
protected function getMetaTags()
return [['property' => 'og:description', 'content' => '{description}']];