array( 'type' => 'array' ), 'count' => array( 'type' => 'integer' ), ); } protected function annotations(): array { return array( 'readonly' => true, 'destructive' => false, 'idempotent' => true, ); } /** * @param array $input Input. * @return array */ protected function run( array $input ) { $rows = Crawler_Repository::crawlers(); return array( 'crawlers' => $rows, 'count' => count( $rows ), 'message' => sprintf( /* translators: %d: number of crawlers */ _n( '%d crawler.', '%d crawlers.', count( $rows ), 'acrossai-abilities-manager' ), count( $rows ) ), ); } }