summaryrefslogtreecommitdiff
path: root/app/ExternalLink/BaseLinkProvider.php
blob: 749cda948787a17d203391a8a82aef3d0655d08e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php

namespace Kanboard\ExternalLink;

use Kanboard\Core\Base;

/**
 * Base Link Provider
 *
 * @package  externalLink
 * @author   Frederic Guillot
 */
abstract class BaseLinkProvider extends Base
{
    /**
     * User input
     *
     * @access protected
     * @var string
     */
    protected $userInput = '';

    /**
     * Set text entered by the user
     *
     * @access public
     * @param  string $input
     */
    public function setUserTextInput($input)
    {
        $this->userInput = trim($input);
    }
}