WebSearch::fromArray( $array )

In this article

{@inheritDoc}

Source

public static function fromArray(array $array): self
{
    return new self($array[self::KEY_ALLOWED_DOMAINS] ?? [], $array[self::KEY_DISALLOWED_DOMAINS] ?? []);
}

Changelog

VersionDescription
0.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.