summaryrefslogtreecommitdiff
path: root/app/Core/Group/GroupProviderInterface.php
blob: 4c7c16ec9cb69588fd93b344688bd0c432a37b65 (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
<?php

namespace Kanboard\Core\Group;

/**
 * Group Provider Interface
 *
 * @package  group
 * @author   Frederic Guillot
 */
interface GroupProviderInterface
{
    /**
     * Get internal id
     *
     * You must return 0 if the group come from an external backend
     *
     * @access public
     * @return integer
     */
    public function getInternalId();

    /**
     * Get external id
     *
     * You must return a unique id if the group come from an external provider
     *
     * @access public
     * @return string
     */
    public function getExternalId();

    /**
     * Get group name
     *
     * @access public
     * @return string
     */
    public function getName();
}