/**
  * @param  string     $permission
  * @param  object     $object
  * @return array|null may return null if permission/object combination is not supported
  */
 private function getMasks($permission, $object)
 {
     return $this->map->getMasks($permission, $object);
 }
Ejemplo n.º 2
0
 /**
  * @dataProvider getMasksProvider
  */
 public function testGetMasks($object, $name, $mask)
 {
     $this->assertEquals($mask, $this->map->getMasks($name, $object));
 }