'core', 'identifier' => null]]; foreach ($this->discoverBundledIdentifiers('module') as $id) { $targets[] = ['type' => 'module', 'identifier' => $id]; } foreach ($this->discoverBundledIdentifiers('plugin') as $id) { $targets[] = ['type' => 'plugin', 'identifier' => $id]; } return $this->runBuildAction( $bundler, $targets, (bool) $this->option('force'), (bool) $this->option('check'), ); } }