📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-03 21:42:37
📂
/ (Root)
/
home
/
orkouolp
/
web
/
testing.orkobd
/
laravel
/
vendor
/
hamcrest
/
hamcrest-php
/
hamcrest
/
Hamcrest
/
Core
📍 /home/orkouolp/web/testing.orkobd/laravel/vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core
🔄 Refresh
✏️
Editing: IsEqual.php
Writable
<?php namespace Hamcrest\Core; /* Copyright (c) 2009 hamcrest.org */ use Hamcrest\BaseMatcher; use Hamcrest\Description; /** * Is the value equal to another value, as tested by the use of the "==" * comparison operator? */ class IsEqual extends BaseMatcher { private $_item; public function __construct($item) { $this->_item = $item; } public function matches($arg) { return (($arg == $this->_item) && ($this->_item == $arg)); } public function describeTo(Description $description) { $description->appendValue($this->_item); } /** * Is the value equal to another value, as tested by the use of the "==" * comparison operator? * * @factory */ public static function equalTo($item) { return new self($item); } }
💾 Save Changes
❌ Cancel