Automattic\WooCommerce\Blueprint

ClassExtractor::has_strict_type_declarationpublicWC 1.0

Checks if the file has a strict types declaration.

Method of the class: ClassExtractor{}

No Hooks.

Returns

true|false. True if the file has a strict types declaration, false otherwise.

Usage

$ClassExtractor = new ClassExtractor();
$ClassExtractor->has_strict_type_declaration();

ClassExtractor::has_strict_type_declaration() code WC 10.9.1

public function has_strict_type_declaration() {
	return $this->has_strict_types_declaration;
}