Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
621 lars 1
<?php
2
 
3
namespace Illuminate\Cache;
4
 
5
class FileLock extends CacheLock
6
{
7
    /**
8
     * Attempt to acquire the lock.
9
     *
10
     * @return bool
11
     */
12
    public function acquire()
13
    {
14
        return $this->store->add($this->name, $this->owner, $this->seconds);
15
    }
16
}