This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Class IndexAction | |
* @package App\Http\Controllers\EditingController | |
*/ | |
class IndexAction | |
{ | |
/** | |
* @var EgnyteState | |
*/ | |
private $stateModel; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @param EgnyteState $stateModel | |
* | |
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View | |
*/ | |
public function index(EgnyteState $stateModel) | |
{ | |
if (Auth::getUser()->isEditingDocument()) { | |
sleep(2); |