for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* \AppserverIo\Psr\MetaobjectProtocol\Dbc\Annotations\Invariant
*
* NOTICE OF LICENSE
* This source file is subject to the Open Software License (OSL 3.0)
* that is available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* PHP version 5
* @author Bernhard Wick <[email protected]>
* @copyright 2015 TechDivision GmbH - <[email protected]>
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @link https://github.com/appserver-io-psr/mop
* @link http://www.appserver.io/
*/
namespace AppserverIo\Psr\MetaobjectProtocol\Dbc\Annotations;
* Annotation class which is used to identify the state of a class instance which must be present after every
* invocation or access to an exposed element (method or property) of this class
* @Annotation
* @Target({"CLASS"})
class Invariant
{
* The annotation which identifies this annotation class
* @var string
const ANNOTATION = 'Invariant';
* This method returns the class name as a string
* @return string
public static function __getClass()
return __CLASS__;
}