' * id: int, * name: string, * kind: string, // 'url' | 'product_url_field' * scopeType: string, * status: string, // SourceStatus | 'out_of_scope' * statusMessage: string, * usable: bool, // ready or stale * stale: bool, * extracted: array|null, // array{title: string, text: string, facts: array} * contentVersion: int, * contentHash: string, * url: string // final URL actually read ('' when none) * } * * @param int[] $source_ids Source ids allowed by the definition. * @param string $subject_type 'product' | 'term' | 'attachment'. * @param int $subject_id Subject id (attachment: the attachment; scope uses its parent product). * @param array $options array{deadline?: float, allowedDomains?: string[], allowFetch?: bool}. * @return array Entries keyed by source id. */ public function contentForSubject( array $source_ids, string $subject_type, int $subject_id, array $options = array() ): array; }