This file contains hidden or 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
// Customer hasOne or belongsTo User | |
public function fields(Request $request) | |
{ | |
return [ | |
Text::make('Heslo', 'password')->onRelation('user'), | |
]; | |
} |
This file contains hidden or 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\Console\Commands\Concerns; | |
use React\EventLoop\Loop; | |
trait RunsLoop | |
{ | |
protected function loop(callable $callback, float $interval, float $lifetime): void | |
{ |