Skip to content

Instantly share code, notes, and snippets.

View x0st's full-sized avatar
🎯
Focusing

Pavel Movchan x0st

🎯
Focusing
  • Kyiv
  • 22:24 (UTC +03:00)
View GitHub Profile
/**
* Class IndexAction
* @package App\Http\Controllers\EditingController
*/
class IndexAction
{
/**
* @var EgnyteState
*/
private $stateModel;
/**
* @param EgnyteState $stateModel
*
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
*/
public function index(EgnyteState $stateModel)
{
if (Auth::getUser()->isEditingDocument()) {
sleep(2);