Automattic\WooCommerce\Blueprint

ClassExtractor::has_strict_type_declarationpublicWC 1.0

Checks if the file has a strict types declaration.

Метод класса: ClassExtractor{}

Хуков нет.

Возвращает

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

Использование

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

Код ClassExtractor::has_strict_type_declaration() WC 10.0.2

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