aboutsummaryrefslogblamecommitdiffstats
path: root/vendor/sabre/dav/tests/Sabre/DAVACL/MockACLNode.php
blob: 51411f3048ad7c58f46d62c43533afbcc1aa2c40 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

     

                        


                       
 

                                                  


                 

                                                       

                            

     

                             
                           

     

                              
                    

     

                              
                    

     

                            
                          

     

                                      
                          

     

                                              
                    
     
 
<?php

declare(strict_types=1);

namespace Sabre\DAVACL;

use Sabre\DAV;

class MockACLNode extends DAV\Node implements IACL
{
    public $name;
    public $acl;

    public function __construct($name, array $acl = [])
    {
        $this->name = $name;
        $this->acl = $acl;
    }

    public function getName()
    {
        return $this->name;
    }

    public function getOwner()
    {
        return null;
    }

    public function getGroup()
    {
        return null;
    }

    public function getACL()
    {
        return $this->acl;
    }

    public function setACL(array $acl)
    {
        $this->acl = $acl;
    }

    public function getSupportedPrivilegeSet()
    {
        return null;
    }
}