Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 671 Bytes

Method.md

File metadata and controls

24 lines (16 loc) · 671 Bytes

Used in Call statement.

Constructor

__construct(string $name, ...$args)

All Method args are parameterized by default. Please use the Raw class to prevent this behavior if not desired.

Parameter Description
$name Name of the method to call
$values Array of arguments for this method

Example

use FaaPz\PDO\Clause\Method;

// CALL MyProcedure(?, ?)
$statement = $database->call(new Method("MyProcedure", "arg1", 2));