HEX
Server: Apache/2.4.66 (Debian)
System: Linux 6dfabc3b2241 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User: (1000)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/wpgraphql-acf/src/AcfGraphQLFieldResolver.php
<?php
namespace WPGraphQL\Acf;

/**
 * Handles the resolution of an ACF Field in the GraphQL Schema
 */
class AcfGraphQLFieldResolver {

	/**
	 * @var \WPGraphQL\Acf\AcfGraphQLFieldType
	 */
	protected $acf_graphql_field_type;

	/**
	 * @param \WPGraphQL\Acf\AcfGraphQLFieldType $acf_graphql_field_type
	 */
	public function __construct( AcfGraphQLFieldType $acf_graphql_field_type ) {
		$this->acf_graphql_field_type = $acf_graphql_field_type;
	}

	/**
	 * Get the AcfGraphQLFieldType definition
	 */
	public function get_acf_graphql_field_type(): AcfGraphQLFieldType {
		return $this->acf_graphql_field_type;
	}
}