1<?php
2
3namespace Sabre\DAVACL;
4
5use Sabre\DAV;
6use Sabre\HTTP;
7
8class MockACLNode extends DAV\Node implements IACL {
9
10    public $name;
11    public $acl;
12
13    function __construct($name, array $acl = array()) {
14
15        $this->name = $name;
16        $this->acl = $acl;
17
18    }
19
20    function getName() {
21
22        return $this->name;
23
24    }
25
26    function getOwner() {
27
28        return null;
29
30    }
31
32    function getGroup() {
33
34        return null;
35
36    }
37
38    function getACL() {
39
40        return $this->acl;
41
42    }
43
44    function setACL(array $acl) {
45
46        $this->acl = $acl;
47
48    }
49
50    function getSupportedPrivilegeSet() {
51
52        return null;
53
54    }
55
56}
57