golden hour
/opt/cpanel/ea-wappspector/vendor/rector/rector/rules/Php72/ValueObject
⬆️ Go Up
Upload
File/Folder
Size
Actions
ListAndEach.php
686 B
Del
OK
Edit: ListAndEach.php
<?php declare (strict_types=1); namespace Rector\Php72\ValueObject; use PhpParser\Node\Expr\FuncCall; use PhpParser\Node\Expr\List_; final class ListAndEach { /** * @readonly * @var \PhpParser\Node\Expr\List_ */ private $list; /** * @readonly * @var \PhpParser\Node\Expr\FuncCall */ private $eachFuncCall; public function __construct(List_ $list, FuncCall $eachFuncCall) { $this->list = $list; $this->eachFuncCall = $eachFuncCall; } public function getList() : List_ { return $this->list; } public function getEachFuncCall() : FuncCall { return $this->eachFuncCall; } }
Save