Icicle\Concurrent\Sync\PosixSemaphore::getSize PHP Method

getSize() public method

Gets the maximum number of locks held by the semaphore.
public getSize ( ) : integer
return integer The maximum number of locks held by the semaphore.
    public function getSize() : int
    {
        return $this->maxLocks;
    }