/ LJCPHPCodeDoc / LJCDocDataLib / LJCDocDataClasses / Get


Parameters
$key - The element key.
$throwError - Indicates if an error should be thrown if the key is not found.

Returns

The object with the matching key value.

Syntax

PHP
public function Get($key, bool $throwError = true) : ?LJCDocDataClass

Get the item by Key value.

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.