/var/www/cobraambalaj/vendor/phpunit/phpunit/src/Framework/MockObject
NameSizeModeActions
Api/-0755rm
Builder/-0755rm
Exception/-0755rm
Generator/-0755rm
Rule/-0755rm
Stub/-0755rm
ConfigurableMethod.php11580644editdlrm
Generator.php331090644editdlrm
Invocation.php49040644editdlrm
InvocationHandler.php44990644editdlrm
Matcher.php75990644editdlrm
MethodNameConstraint.php10680644editdlrm
MockBuilder.php114230644editdlrm
MockClass.php15710644editdlrm
MockMethod.php116650644editdlrm
MockMethodSet.php10490644editdlrm
MockObject.php8860644editdlrm
MockTrait.php11300644editdlrm
MockType.php5040644editdlrm
Stub.php7560644editdlrm
Verifiable.php7140644editdlrm
Edit: /var/www/cobraambalaj/vendor/phpunit/phpunit/src/Framework/MockObject/MethodNameConstraint.php (1068B)
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPUnit\Framework\MockObject; use function is_string; use function sprintf; use function strtolower; use PHPUnit\Framework\Constraint\Constraint; /** * @internal This class is not covered by the backward compatibility promise for PHPUnit */ final class MethodNameConstraint extends Constraint { /** * @var string */ private $methodName; public function __construct(string $methodName) { $this->methodName = $methodName; } public function toString(): string { return sprintf( 'is "%s"', $this->methodName ); } protected function matches($other): bool { if (!is_string($other)) { return false; } return strtolower($this->methodName) === strtolower($other); } }