protected function setMutex()
    {
        if (Eye::laravelVersionIs('<', '5.4.0')) {
            return touch($this->mutexPath());
        } elseif (Eye::laravelVersionIs('<', '5.4.17')) {
            return $this->cache->add($this->mutexName(), true, 1440);
        }

        return $this->mutex->create($this);
    }
protected function setMutex()
    {
        if (Eye::laravelVersionIs('<', '5.4.0')) {
            return touch($this->mutexPath());
        } elseif (Eye::laravelVersionIs('<', '5.4.17')) {
            return $this->cache->add($this->mutexName(), true, 1440);
        }

        return $this->mutex->create($this);
    }
protected function setMutex ( ) { if ( Eye :: laravelVersionIs ( '<' , '5.4.0' ) ) { return touch ( $ this -> mutexPath ( ) ) ; } elseif ( Eye :: laravelVersionIs ( '<' , '5.4.17' ) ) { return $ this -> cache -> add ( $ this -> mutexName ( ) , true , 1440 ) ; } return $ this -> mutex -> create ( $ this ) ; }
Run the correct mutex based upon the Laravel version.

@return bool
Run the correct mutex based upon the Laravel version .