28. Class

28.1. Zend\Cache\Storage\Adapter\FilesystemOptions

These are options specific to the Filesystem adapter

28.1.1. Methods

28.1.1.1. __construct

__construct()

Constructor

Parameters:array|Traversable|null
Return type:FilesystemOptions
Throws :ExceptionInvalidArgumentException

28.1.1.2. setCacheDir

setCacheDir()

Set cache dir

Parameters:string
Return type:FilesystemOptions
Throws :ExceptionInvalidArgumentException

28.1.1.3. getCacheDir

getCacheDir()

Get cache dir

Return type:null|string

28.1.1.4. setClearStatCache

setClearStatCache()

Set clear stat cache

Parameters:bool
Return type:FilesystemOptions

28.1.1.5. getClearStatCache

getClearStatCache()

Get clear stat cache

Return type:bool

28.1.1.6. setDirLevel

setDirLevel()

Set dir level

Parameters:int
Return type:FilesystemOptions
Throws :ExceptionInvalidArgumentException

28.1.1.7. getDirLevel

getDirLevel()

Get dir level

Return type:int

28.1.1.8. setDirPermission

setDirPermission()

Set permission to create directories on unix systems

Parameters:false|string|int – FALSE to disable explicit permission or an octal number
Return type:FilesystemOptions
See :
See :
Link :

28.1.1.9. getDirPermission

getDirPermission()

Get permission to create directories on unix systems

Return type:false|int

28.1.1.10. setFileLocking

setFileLocking()

Set file locking

Parameters:bool
Return type:FilesystemOptions

28.1.1.11. getFileLocking

getFileLocking()

Get file locking

Return type:bool

28.1.1.12. setFilePermission

setFilePermission()

Set permission to create files on unix systems

Parameters:false|string|int – FALSE to disable explicit permission or an octal number
Return type:FilesystemOptions
See :
See :
Link :

28.1.1.13. getFilePermission

getFilePermission()

Get permission to create files on unix systems

Return type:false|int

28.1.1.14. setNamespaceSeparator

setNamespaceSeparator()

Set namespace separator

Parameters:string
Return type:FilesystemOptions

28.1.1.15. getNamespaceSeparator

getNamespaceSeparator()

Get namespace separator

Return type:string

28.1.1.16. setNoAtime

setNoAtime()

Set no atime

Parameters:bool
Return type:FilesystemOptions

28.1.1.17. getNoAtime

getNoAtime()

Get no atime

Return type:bool

28.1.1.18. setNoCtime

setNoCtime()

Set no ctime

Parameters:bool
Return type:FilesystemOptions

28.1.1.19. getNoCtime

getNoCtime()

Get no ctime

Return type:bool

28.1.1.20. setUmask

setUmask()

Set the umask to create files and directories on unix systems

Note: On multithreaded webservers it’s better to explicit set file and dir permission.

Parameters:false|string|int – FALSE to disable umask or an octal number
Return type:FilesystemOptions
See :
See :
Link :
Link :

28.1.1.21. getUmask

getUmask()

Get the umask to create files and directories on unix systems

Return type:false|int