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

getPermissions() public method

Gets the access permissions of the semaphore.
public getPermissions ( ) : integer
return integer A permissions mode.
    public function getPermissions() : int
    {
        $stat = msg_stat_queue($this->queue);
        return $stat['msg_perm.mode'];
    }