Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
tipuloidea
/
back
/
vendor
/
laravel
/
pail
/
src
/
ValueObjects
/
Origin
:
Console.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Laravel\Pail\ValueObjects\Origin; class Console { /** * Creates a new instance of the console origin. */ public function __construct( public ?string $command, ) { // } /** * Creates a new instance of the console origin from the given json string. * * @param array{command?: string} $array */ public static function fromArray(array $array): static { $command = $array['command'] ?? null; return new static($command); } }