PHP Class VCR\Util\Assertion

Inheritance: extends Assert\Assertion
Show file Open project: php-vcr/php-vcr Class Usage Examples

Protected Properties

Property Type Description
$exceptionClass

Public Methods

Method Description
isCallable ( mixed $value, string $message = null, null $propertyPath = null ) : void Assert that the value is callable.

Method Details

isCallable() public static method

Assert that the value is callable.
public static isCallable ( mixed $value, string $message = null, null $propertyPath = null ) : void
$value mixed Variable to check for a callable.
$message string Exception message to show if value is not a callable.
$propertyPath null
return void

Property Details

$exceptionClass protected static property

protected static $exceptionClass