D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
t
/
a
/
t
/
tattooscyy
/
api
/
vendor
/
phar-io
/
version
/
src
/
constraints
/
Filename :
ExactVersionConstraint.php
back
Copy
<?php /* * This file is part of PharIo\Version. * * (c) Arne Blankerts <arne@blankerts.de>, Sebastian Heuer <sebastian@phpeople.de>, Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PharIo\Version; class ExactVersionConstraint extends AbstractVersionConstraint { /** * @param Version $version * * @return bool */ public function complies(Version $version) { return $this->asString() == $version->getVersionString(); } }