1, 'name' => 'My first application', 'destination_id' => $standalone_docker_1->id, 'destination_type' => StandaloneDocker::class, ]); $environment_1->applications()->attach($application_1); } }