WordPress\AiClient\Common\Contracts
WithArrayTransformationInterface::fromArray
Creates an instance from array data.
Method of the class: WithArrayTransformationInterface{}
No Hooks.
Returns
self
Usage
$result = WithArrayTransformationInterface::fromArray( $array ): self;
- $array(TArrayShape) (required)
- The array data.
Changelog
| Since 0.1.0 | Introduced. |
WithArrayTransformationInterface::fromArray() WithArrayTransformationInterface::fromArray code WP 7.0
public static function fromArray(array $array): self;