Download the PHP package darling/php-mocking-utilities without Composer
On this page you can find all versions of the php package darling/php-mocking-utilities. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download darling/php-mocking-utilities
More information about darling/php-mocking-utilities
Files in darling/php-mocking-utilities
Package php-mocking-utilities
Short Description The PHPMockingUtilities library provides classes that can be used to mock various types of values.
License MIT
Informations about the package php-mocking-utilities
The PHPMockingUtilities library provides classes that can be used to mock various types of values.
The following classes are provided by this library:
Overview
- Installation
- Classes
- \Darling\PHPMockingUtilities\classes\mock\values\MockArray
- \Darling\PHPMockingUtilities\classes\mock\values\MockBool
- \Darling\PHPMockingUtilities\classes\mock\values\MockClassInstance
- \Darling\PHPMockingUtilities\classes\mock\values\MockClosure
- \Darling\PHPMockingUtilities\classes\mock\values\MockFloat
- \Darling\PHPMockingUtilities\classes\mock\values\MockInt
- \Darling\PHPMockingUtilities\classes\mock\values\MockMixedValue
- \Darling\PHPMockingUtilities\classes\mock\values\MockString
Installation
Classes
\Darling\PHPMockingUtilities\classes\mock\values\MockArray
Can be used to mock an empty array.
Example:
\Darling\PHPMockingUtilities\classes\mock\values\MockBool
Can be used to mock the boolean value false.
Example:
\Darling\PHPMockingUtilities\classes\mock\values\MockClassInstance
Can be used to mock an instance of an existing class.
Can also be used to mock argument values for methods defined by an existing class.
Example:
\Darling\PHPMockingUtilities\classes\mock\values\MockClosure
Can be used to mock a closure.
Example:
\Darling\PHPMockingUtilities\classes\mock\values\MockFloat
Can be used to mock a float.
Example:
\Darling\PHPMockingUtilities\classes\mock\values\MockInt
Can be used to mock a int.
Example:
\Darling\PHPMockingUtilities\classes\mock\values\MockMixedValue
Can be used to mock a mixed value.
Example:
\Darling\PHPMockingUtilities\classes\mock\values\MockString
Can be used to mock a string.
Example:
All versions of php-mocking-utilities with dependencies
darling/php-unit-test-utilities Version ^1.0
darling/php-text-types Version ^1.0
darling/php-reflection-utilities Version ^1.0
darling/php-darling-dev-tools Version ^1.0