LINE Messaging API SDK for PHP

BuildUtil
in package

A utility class for builder class.

Table of Contents

build()  : mixed|null
Execute build method and return result.
removeNullElements()  : array<string|int, mixed>
Remove null elements from array.

Methods

build()

Execute build method and return result.

public static build([object|null $builder = null ][, string|null $buiildMethod = 'build' ]) : mixed|null
Parameters
$builder : object|null = null
$buiildMethod : string|null = 'build'
Return values
mixed|null

removeNullElements()

Remove null elements from array.

public static removeNullElements(array<string|int, mixed> $ary) : array<string|int, mixed>
Parameters
$ary : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results