A

FileLock::acquire() — Method in class FileLock
Try to acquire a file lock.
FileLockInterface::acquire() — Method in class FileLockInterface
Try to acquire a file lock.

F

FileLockAcquireExceptionClass in namespace SR\File\Lock\Exception
File lock acquire exception.
FileLockReleaseExceptionClass in namespace SR\File\Lock\Exception
File lock release exception.
FileResourceExceptionClass in namespace SR\File\Lock\Exception
File resource exception.
FileLockClass in namespace SR\File\Lock
File lock.
FileLockInterfaceClass in namespace SR\File\Lock
Interface that a file lock.

G

FileLock::getResource() — Method in class FileLock
Returns the file handle.
FileLockInterface::getResource() — Method in class FileLockInterface
Returns the file handle.

H

FileLock::hasResource() — Method in class FileLock
Returns true if file handle is held.
FileLockInterface::hasResource() — Method in class FileLockInterface
Returns true if file handle is held.

I

InvalidOptionExceptionClass in namespace SR\File\Lock\Exception
Invalid argument exception.
FileLock::isAcquired() — Method in class FileLock
Returns true if lock has been acquired.
FileLock::isShared() — Method in class FileLock
Returns true if lock is shared.
FileLock::isExclusive() — Method in class FileLock
Returns true if lock is exclusive.
FileLock::isBlocking() — Method in class FileLock
Returns true if lock is blocking.
FileLock::isNonBlocking() — Method in class FileLock
Returns true if lock is non blocking.
FileLockInterface::isAcquired() — Method in class FileLockInterface
Returns true if lock has been acquired.
FileLockInterface::isShared() — Method in class FileLockInterface
Returns true if lock is shared.
FileLockInterface::isExclusive() — Method in class FileLockInterface
Returns true if lock is exclusive.
FileLockInterface::isBlocking() — Method in class FileLockInterface
Returns if lock is blocking.
FileLockInterface::isNonBlocking() — Method in class FileLockInterface
Returns true if lock is non blocking.

R

FileLock::release() — Method in class FileLock
Try to release a file lock.
FileLockInterface::release() — Method in class FileLockInterface
Try to release a file lock.

S

FileLock::setOptions() — Method in class FileLock
Assign the options bitmask to configure locking behavior.
FileLockInterface::setOptions() — Method in class FileLockInterface
Assign the options bitmask to configure locking behavior.

_

FileLock::__construct() — Method in class FileLock
Construct file lock with file name and optional options bitmask and logger instance.
FileLockInterface::__construct() — Method in class FileLockInterface
Construct file lock with file name and optional options bitmask and logger instance.