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
<?php | |
namespace App\Filament\Resources; | |
use App\Filament\Resources\CommentResource\Pages; | |
use App\Filament\Resources\CommentResource\RelationManagers; | |
use App\Filament\Resources\PostResource\RelationManagers\CommentsRelationManager; | |
use App\Models\Comment; | |
use App\Models\Post; | |
use App\Models\User; |
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
// open modal from livewire component | |
$this->dispatch('open-modal', name: 'user-details'); | |
// close modal | |
$this->dispatch('close-modal'); |
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
#include <iostream> | |
class Log{ | |
public: | |
const int LogLevelError = 0; | |
const int LogLevelWarning = 1; | |
const int LogLevelInfo = 2; | |
private: | |
int LogLevel = LogLevelInfo; | |
public: |