php hello.php
require_once('path/to/My/Icon.php');
class Project extends Model
{
public function deployments()
{
return $this->hasManyThrough(
Deployment::class,
Environment::class,
'project_id', // Foreign key on the environments table...
'environment_id', // Foreign key on the deployments table...
'id', // Local key on the projects table...
'id' // Local key on the environments table...
);
}
}
// massive.php
return [
"stul" => []
]
//index.php
$items = require("massive.php"); // items массив который вернул massive
// ниже где хочешь
$items["stul"]