1, 'name' => 'My first application', 'environment_id' => $environment_1->id, 'destination_id' => $standalone_docker_1->id, 'destination_type' => StandaloneDocker::class, 'source_id' => $github_public_source->id, 'source_type' => GithubApp::class, ]); Application::create([ 'id' => 2, 'name' => 'My second application (Swarm)', 'environment_id' => $environment_1->id, 'destination_id' => $swarm_docker_1->id, 'destination_type' => SwarmDocker::class, 'source_id' => $github_public_source->id, 'source_type' => GithubApp::class, ]); } }