Constructor.
public __construct ( string $name, integer $cacheVersion = null, string $type = 'matrix', array $params = null ) | ||
$name | string | The name of the perm. |
$cacheVersion | integer | The revision number of the class. |
$type | string | The permission type. |
$params | array | A hash with any parameters that the permission type needs. |