for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* AppserverIo\Psr\EnterpriseBeans\Annotations\Migration
*
* 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 Tim Wagner <[email protected]>
* @copyright 2018 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/epb
* @link http://www.appserver.io
*/
namespace AppserverIo\Psr\EnterpriseBeans\Annotations;
* Annotation to map a Doctrine Migration version.
class Migration extends AbstractBeanAnnotation
{
* The annotation to define Doctrine Migration version.
* @var string
const ANNOTATION = 'Migration';
* This method returns the class name as
* a string.
* @return string
public static function __getClass()
return __CLASS__;
}
* Returns the value of the name attribute.
* @return string|null The annotations name attribute
public function getName()
if (isset($this->values['name'])) {
return $this->values['name'];