summaryrefslogtreecommitdiff
path: root/app/ExternalLink/BaseLink.php
blob: 08693ae789f45b1acde1dff0885fd629cf8720dd (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
34
35
36
37
38
39
40
41
42
43
44
<?php

namespace Kanboard\ExternalLink;

use Kanboard\Core\Base;

/**
 * Base Link
 *
 * @package  externalLink
 * @author   Frederic Guillot
 */
abstract class BaseLink extends Base
{
    /**
     * URL
     *
     * @access protected
     * @var string
     */
    protected $url = '';

    /**
     * Get link URL
     *
     * @access public
     * @return string
     */
    public function getUrl()
    {
        return $this->url;
    }

    /**
     * Set link URL
     *
     * @access public
     * @param  string $url
     */
    public function setUrl($url)
    {
        $this->url = $url;
    }
}