ConvertToUndefinedTrait
Trait ConvertToUndefinedTrait.
Trait to cast an input value to undefined.
Table of Contents
- fromArrayToUndefined() : null
- Convert array to undefined.
- fromBooleanToUndefined() : null
- Convert boolean to undefined.
- fromFileToUndefined() : null
- Convert file to undefined.
- fromFloatToUndefined() : null
- Convert float to undefined.
- fromHtmlToUndefined() : null
- Convert HTML to undefined.
- fromImageToUndefined() : null
- Convert image to undefined.
- fromIntegerToUndefined() : null
- Convert integer to undefined.
- fromJsonToUndefined() : null
- Convert JSON to undefined.
- fromTextToUndefined() : null
- Convert text to undefined.
- fromUndefinedToUndefined() : null
- Convert undefined to undefined.
- fromXmlToUndefined() : null
- Convert XML to undefined.
Methods
fromArrayToUndefined()
Convert array to undefined.
public
fromArrayToUndefined(array<string|int, mixed> $array) : null
Parameters
- $array : array<string|int, mixed>
Return values
null —fromBooleanToUndefined()
Convert boolean to undefined.
public
fromBooleanToUndefined(bool $boolean) : null
Parameters
- $boolean : bool
Return values
null —fromFileToUndefined()
Convert file to undefined.
public
fromFileToUndefined( $file) : null
Parameters
Return values
null —fromFloatToUndefined()
Convert float to undefined.
public
fromFloatToUndefined(float $float) : null
Parameters
- $float : float
Return values
null —fromHtmlToUndefined()
Convert HTML to undefined.
public
fromHtmlToUndefined(string $html) : null
Parameters
- $html : string
Return values
null —fromImageToUndefined()
Convert image to undefined.
public
fromImageToUndefined( $image) : null
Parameters
Return values
null —fromIntegerToUndefined()
Convert integer to undefined.
public
fromIntegerToUndefined(int $integer) : null
Parameters
- $integer : int
Return values
null —fromJsonToUndefined()
Convert JSON to undefined.
public
fromJsonToUndefined(string $json) : null
Parameters
- $json : string
Return values
null —fromTextToUndefined()
Convert text to undefined.
public
fromTextToUndefined(string $string) : null
Parameters
- $string : string
Return values
null —fromUndefinedToUndefined()
Convert undefined to undefined.
public
fromUndefinedToUndefined( $data) : null
Parameters
Return values
null —fromXmlToUndefined()
Convert XML to undefined.
public
fromXmlToUndefined(string $xml) : null
Parameters
- $xml : string