public function findCached(): array
	{
		$output = [];
		$introspect = $this->introspection->introspect();
		$tags = $this->introspection->findTags(CachedDataSource::class);

		foreach ($tags as $tag) {
			foreach ($tag as $key => $value) {
				foreach ($introspect as $item) {
					if ($item->tags['services']['subreport'] === $value) {
						$output[] = [
							'id' => $item->rid . '.' . $item->sid,
							'report_id' => $item->rid,
							'subreport_id' => $item->sid,
							'report' => $item->tags['services']['report'],
							'subreport' => $item->tags['services']['subreport'],
							'key' => $item->tags['services']['subreport'],
							'cache' => $item->tags['cache'],
						];
					}
				}
			}
		}

		return $output;
	}
public function findCached(): array
	{
		$output = [];
		$introspect = $this->introspection->introspect();
		$tags = $this->introspection->findTags(CachedDataSource::class);

		foreach ($tags as $tag) {
			foreach ($tag as $key => $value) {
				foreach ($introspect as $item) {
					if ($item->tags['services']['subreport'] === $value) {
						$output[] = [
							'id' => $item->rid . '.' . $item->sid,
							'report_id' => $item->rid,
							'subreport_id' => $item->sid,
							'report' => $item->tags['services']['report'],
							'subreport' => $item->tags['services']['subreport'],
							'key' => $item->tags['services']['subreport'],
							'cache' => $item->tags['cache'],
						];
					}
				}
			}
		}

		return $output;
	}
public function findCached ( ) : array { $ output = [ ] ; $ introspect = $ this -> introspection -> introspect ( ) ; $ tags = $ this -> introspection -> findTags ( CachedDataSource :: class ) ; foreach ( $ tags as $ tag ) { foreach ( $ tag as $ key => $ value ) { foreach ( $ introspect as $ item ) { if ( $ item -> tags [ 'services' ] [ 'subreport' ] === $ value ) { $ output [ ] = [ 'id' => $ item -> rid . '.' . $ item -> sid , 'report_id' => $ item -> rid , 'subreport_id' => $ item -> sid , 'report' => $ item -> tags [ 'services' ] [ 'report' ] , 'subreport' => $ item -> tags [ 'services' ] [ 'subreport' ] , 'key' => $ item -> tags [ 'services' ] [ 'subreport' ] , 'cache' => $ item -> tags [ 'cache' ] , ] ; } } } } return $ output ; }
Returns array of subreports which have cached datasource. All lazy-loaded.

@return mixed[]
Returns array of subreports which have cached datasource . All lazy - loaded .