View file vendor/illuminate/contracts/Cache/LockProvider.php

File size: 277B
<?php

namespace Illuminate\Contracts\Cache;

interface LockProvider
{
    /**
     * Get a lock instance.
     *
     * @param  string  $name
     * @param  int  $seconds
     * @return \Illuminate\Contracts\Cache\Lock
     */
    public function lock($name, $seconds = 0);
}