Icicle\Concurrent\Threading\Semaphore::__clone PHP Method

__clone() public method

Clones the semaphore, creating a new instance with the same number of locks, all available.
public __clone ( )
    public function __clone()
    {
        $this->init($this->getSize());
    }