HH\ExperimentalParserUtils\find_class_shape_type_constant

namespace HH\ExperimentalParserUtils;

function find_class_shape_type_constant(
  ClassBodyNode $class_body,
  string $name,
): ?ShapeNode;

Parameters

  • ClassBodyNode $class_body
  • string $name

Returns

  • ?ShapeNode