WordPress\AiClient\Common\Contracts
WithArrayTransformationInterface::isArrayShape
Checks if the array is a valid shape for this object.
Метод класса: WithArrayTransformationInterface{}
Хуков нет.
Возвращает
bool. True if the array is a valid shape.
Использование
$result = WithArrayTransformationInterface::isArrayShape( $array ): bool;
- $array(array
) (обязательный) - The array to check.
Список изменений
| С версии 0.1.0 | Введена. |
Код WithArrayTransformationInterface::isArrayShape() WithArrayTransformationInterface::isArrayShape WP 7.1.2
public static function isArrayShape(array $array): bool;