ArgumentTypeException constructor
public \Bitrix\Main\ArgumentTypeException::__construct( string $parameter, string $requiredType = "", \Exception $previous = null );
This non-static methods called when creating a class instance and allows to modify it, when creating an object.
Parameters
Parameter | Description | Version |
---|---|---|
$parameter | Argument that created an exception | |
$requiredType | Required type | |
$previous | Previous exception. Used to build chain of exceptions. |
Examples
© «Bitrix24», 2001-2024
Up