Remove old "CLASSNAME" constants from test models
This commit is contained in:
parent
fda6fdd9fb
commit
62d122bd54
@ -8,7 +8,6 @@ use Doctrine\DBAL\Types\Type;
|
|||||||
class CustomIdObjectType extends Type
|
class CustomIdObjectType extends Type
|
||||||
{
|
{
|
||||||
const NAME = 'CustomIdObject';
|
const NAME = 'CustomIdObject';
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
|
@ -10,8 +10,6 @@ use Doctrine\Common\Collections\ArrayCollection;
|
|||||||
*/
|
*/
|
||||||
class Action
|
class Action
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @Column(type="string")
|
* @Column(type="string")
|
||||||
|
@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Cache;
|
|||||||
*/
|
*/
|
||||||
class Address
|
class Address
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @GeneratedValue
|
* @GeneratedValue
|
||||||
|
@ -17,8 +17,6 @@ use Doctrine\Common\Collections\ArrayCollection;
|
|||||||
*/
|
*/
|
||||||
abstract class Attraction
|
abstract class Attraction
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @GeneratedValue
|
* @GeneratedValue
|
||||||
|
@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Cache;
|
|||||||
*/
|
*/
|
||||||
class AttractionContactInfo extends AttractionInfo
|
class AttractionContactInfo extends AttractionInfo
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Column(unique=true)
|
* @Column(unique=true)
|
||||||
*/
|
*/
|
||||||
|
@ -14,8 +14,6 @@ namespace Doctrine\Tests\Models\Cache;
|
|||||||
*/
|
*/
|
||||||
abstract class AttractionInfo
|
abstract class AttractionInfo
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @GeneratedValue
|
* @GeneratedValue
|
||||||
|
@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Cache;
|
|||||||
*/
|
*/
|
||||||
class AttractionLocationInfo extends AttractionInfo
|
class AttractionLocationInfo extends AttractionInfo
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Column(unique=true)
|
* @Column(unique=true)
|
||||||
*/
|
*/
|
||||||
|
@ -7,5 +7,4 @@ namespace Doctrine\Tests\Models\Cache;
|
|||||||
*/
|
*/
|
||||||
class Bar extends Attraction
|
class Bar extends Attraction
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
}
|
}
|
@ -7,5 +7,4 @@ namespace Doctrine\Tests\Models\Cache;
|
|||||||
*/
|
*/
|
||||||
class Beach extends Attraction
|
class Beach extends Attraction
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
}
|
}
|
@ -11,8 +11,6 @@ use Doctrine\Common\Collections\ArrayCollection;
|
|||||||
*/
|
*/
|
||||||
class City
|
class City
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @GeneratedValue
|
* @GeneratedValue
|
||||||
|
@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Cache;
|
|||||||
*/
|
*/
|
||||||
class Client
|
class Client
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @GeneratedValue
|
* @GeneratedValue
|
||||||
|
@ -10,8 +10,6 @@ use Doctrine\Common\Collections\ArrayCollection;
|
|||||||
*/
|
*/
|
||||||
class ComplexAction
|
class ComplexAction
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Column
|
* @Column
|
||||||
*/
|
*/
|
||||||
|
@ -9,8 +9,6 @@ namespace Doctrine\Tests\Models\Cache;
|
|||||||
*/
|
*/
|
||||||
class Country
|
class Country
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @GeneratedValue
|
* @GeneratedValue
|
||||||
|
@ -9,8 +9,6 @@ namespace Doctrine\Tests\Models\Cache;
|
|||||||
*/
|
*/
|
||||||
class Flight
|
class Flight
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @Cache
|
* @Cache
|
||||||
|
@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Cache;
|
|||||||
*/
|
*/
|
||||||
class Login
|
class Login
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @GeneratedValue
|
* @GeneratedValue
|
||||||
|
@ -9,8 +9,6 @@ namespace Doctrine\Tests\Models\Cache;
|
|||||||
*/
|
*/
|
||||||
class Person
|
class Person
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @GeneratedValue
|
* @GeneratedValue
|
||||||
|
@ -7,5 +7,4 @@ namespace Doctrine\Tests\Models\Cache;
|
|||||||
*/
|
*/
|
||||||
class Restaurant extends Attraction
|
class Restaurant extends Attraction
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
}
|
}
|
@ -11,8 +11,6 @@ use Doctrine\Common\Collections\ArrayCollection;
|
|||||||
*/
|
*/
|
||||||
class State
|
class State
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @GeneratedValue
|
* @GeneratedValue
|
||||||
|
@ -10,8 +10,6 @@ use Doctrine\Common\Collections\ArrayCollection;
|
|||||||
*/
|
*/
|
||||||
class Token
|
class Token
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @Column(type="string")
|
* @Column(type="string")
|
||||||
|
@ -11,8 +11,6 @@ use Doctrine\Common\Collections\ArrayCollection;
|
|||||||
*/
|
*/
|
||||||
class Travel
|
class Travel
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @GeneratedValue
|
* @GeneratedValue
|
||||||
|
@ -11,8 +11,6 @@ use Doctrine\Common\Collections\ArrayCollection;
|
|||||||
*/
|
*/
|
||||||
class Traveler
|
class Traveler
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @GeneratedValue
|
* @GeneratedValue
|
||||||
|
@ -9,8 +9,6 @@ namespace Doctrine\Tests\Models\Cache;
|
|||||||
*/
|
*/
|
||||||
class TravelerProfile
|
class TravelerProfile
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @GeneratedValue
|
* @GeneratedValue
|
||||||
|
@ -9,8 +9,6 @@ namespace Doctrine\Tests\Models\Cache;
|
|||||||
*/
|
*/
|
||||||
class TravelerProfileInfo
|
class TravelerProfileInfo
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @GeneratedValue
|
* @GeneratedValue
|
||||||
|
@ -10,8 +10,6 @@ use Doctrine\Tests\DbalTypes\CustomIdObject;
|
|||||||
*/
|
*/
|
||||||
class CustomIdObjectTypeChild
|
class CustomIdObjectTypeChild
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id @Column(type="CustomIdObject")
|
* @Id @Column(type="CustomIdObject")
|
||||||
*
|
*
|
||||||
|
@ -11,8 +11,6 @@ use Doctrine\Common\Collections\ArrayCollection;
|
|||||||
*/
|
*/
|
||||||
class CustomIdObjectTypeParent
|
class CustomIdObjectTypeParent
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id @Column(type="CustomIdObject")
|
* @Id @Column(type="CustomIdObject")
|
||||||
*
|
*
|
||||||
|
@ -7,5 +7,4 @@ namespace Doctrine\Tests\Models\DDC2504;
|
|||||||
*/
|
*/
|
||||||
class DDC2504ChildClass extends DDC2504RootClass
|
class DDC2504ChildClass extends DDC2504RootClass
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
}
|
}
|
||||||
|
@ -9,8 +9,6 @@ use Doctrine\Common\Collections\ArrayCollection;
|
|||||||
*/
|
*/
|
||||||
class DDC2504OtherClass
|
class DDC2504OtherClass
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Column(type="integer")
|
* @Column(type="integer")
|
||||||
* @Id @GeneratedValue
|
* @Id @GeneratedValue
|
||||||
|
@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\DDC2825;
|
|||||||
/** @Entity @Table(name="explicit_table", schema="explicit_schema") */
|
/** @Entity @Table(name="explicit_table", schema="explicit_schema") */
|
||||||
class ExplicitSchemaAndTable
|
class ExplicitSchemaAndTable
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
|
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
|
||||||
public $id;
|
public $id;
|
||||||
}
|
}
|
||||||
|
@ -10,8 +10,6 @@ namespace Doctrine\Tests\Models\DDC2825;
|
|||||||
*/
|
*/
|
||||||
class SchemaAndTableInTableName
|
class SchemaAndTableInTableName
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
|
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
|
||||||
public $id;
|
public $id;
|
||||||
}
|
}
|
@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\DDC3346;
|
|||||||
*/
|
*/
|
||||||
class DDC3346Article
|
class DDC3346Article
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @Column(type="integer")
|
* @Column(type="integer")
|
||||||
|
@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\DDC3346;
|
|||||||
*/
|
*/
|
||||||
class DDC3346Author
|
class DDC3346Author
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id @Column(type="integer")
|
* @Id @Column(type="integer")
|
||||||
* @GeneratedValue
|
* @GeneratedValue
|
||||||
|
@ -12,8 +12,6 @@ use Doctrine\Tests\Models\DDC3597\Embeddable\DDC3597Dimension;
|
|||||||
*/
|
*/
|
||||||
class DDC3597Image extends DDC3597Media {
|
class DDC3597Image extends DDC3597Media {
|
||||||
|
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var DDC3597Dimension
|
* @var DDC3597Dimension
|
||||||
* @Embedded(class = "Doctrine\Tests\Models\DDC3597\Embeddable\DDC3597Dimension", columnPrefix = false)
|
* @Embedded(class = "Doctrine\Tests\Models\DDC3597\Embeddable\DDC3597Dimension", columnPrefix = false)
|
||||||
|
@ -10,8 +10,6 @@ namespace Doctrine\Tests\Models\DDC3597;
|
|||||||
*/
|
*/
|
||||||
abstract class DDC3597Media extends DDC3597Root {
|
abstract class DDC3597Media extends DDC3597Root {
|
||||||
|
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
*
|
*
|
||||||
|
@ -15,8 +15,6 @@ use Doctrine\ORM\Mapping\DiscriminatorMap;
|
|||||||
*/
|
*/
|
||||||
abstract class DDC3597Root {
|
abstract class DDC3597Root {
|
||||||
|
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var int
|
* @var int
|
||||||
*
|
*
|
||||||
|
@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\DDC3699;
|
|||||||
/** @Entity @Table(name="ddc3699_child") */
|
/** @Entity @Table(name="ddc3699_child") */
|
||||||
class DDC3699Child extends DDC3699Parent
|
class DDC3699Child extends DDC3699Parent
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Id @Column(type="integer") */
|
/** @Id @Column(type="integer") */
|
||||||
public $id;
|
public $id;
|
||||||
|
|
||||||
|
@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\DDC3699;
|
|||||||
/** @MappedSuperclass */
|
/** @MappedSuperclass */
|
||||||
abstract class DDC3699Parent
|
abstract class DDC3699Parent
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Column(type="string") */
|
/** @Column(type="string") */
|
||||||
public $parentField;
|
public $parentField;
|
||||||
}
|
}
|
@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\DDC3699;
|
|||||||
*/
|
*/
|
||||||
class DDC3699RelationMany
|
class DDC3699RelationMany
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Id @Column(type="integer") */
|
/** @Id @Column(type="integer") */
|
||||||
public $id;
|
public $id;
|
||||||
|
|
||||||
|
@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\DDC3699;
|
|||||||
*/
|
*/
|
||||||
class DDC3699RelationOne
|
class DDC3699RelationOne
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Id @Column(type="integer") */
|
/** @Id @Column(type="integer") */
|
||||||
public $id;
|
public $id;
|
||||||
|
|
||||||
|
@ -7,8 +7,6 @@ namespace Doctrine\Tests\Models\DirectoryTree;
|
|||||||
*/
|
*/
|
||||||
abstract class AbstractContentItem
|
abstract class AbstractContentItem
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id @Column(type="integer") @GeneratedValue
|
* @Id @Column(type="integer") @GeneratedValue
|
||||||
*/
|
*/
|
||||||
|
@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\DirectoryTree;
|
|||||||
*/
|
*/
|
||||||
class File extends AbstractContentItem
|
class File extends AbstractContentItem
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Column(type="string") */
|
/** @Column(type="string") */
|
||||||
protected $extension = "html";
|
protected $extension = "html";
|
||||||
|
|
||||||
|
@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Generic;
|
|||||||
*/
|
*/
|
||||||
class DateTimeModel
|
class DateTimeModel
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id @Column(type="integer")
|
* @Id @Column(type="integer")
|
||||||
* @GeneratedValue
|
* @GeneratedValue
|
||||||
|
@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\Hydration;
|
|||||||
/** @Entity */
|
/** @Entity */
|
||||||
class EntityWithArrayDefaultArrayValueM2M
|
class EntityWithArrayDefaultArrayValueM2M
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
|
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
|
||||||
public $id;
|
public $id;
|
||||||
|
|
||||||
|
@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\Hydration;
|
|||||||
/** @Entity */
|
/** @Entity */
|
||||||
class SimpleEntity
|
class SimpleEntity
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
|
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
|
||||||
public $id;
|
public $id;
|
||||||
}
|
}
|
||||||
|
@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\MixedToOneIdentity;
|
|||||||
/** @Entity */
|
/** @Entity */
|
||||||
class CompositeToOneKeyState
|
class CompositeToOneKeyState
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @Column(type="string")
|
* @Column(type="string")
|
||||||
|
@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\MixedToOneIdentity;
|
|||||||
/** @Entity */
|
/** @Entity */
|
||||||
class Country
|
class Country
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Id @Column(type="string") @GeneratedValue(strategy="NONE") */
|
/** @Id @Column(type="string") @GeneratedValue(strategy="NONE") */
|
||||||
public $country;
|
public $country;
|
||||||
}
|
}
|
||||||
|
@ -10,8 +10,6 @@ namespace Doctrine\Tests\Models\NonPublicSchemaJoins;
|
|||||||
*/
|
*/
|
||||||
class User
|
class User
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Column(type="integer")
|
* @Column(type="integer")
|
||||||
* @Id
|
* @Id
|
||||||
|
@ -5,8 +5,6 @@ namespace Doctrine\Tests\Models\OneToOneSingleTableInheritance;
|
|||||||
/** @Entity */
|
/** @Entity */
|
||||||
class Cat extends Pet
|
class Cat extends Pet
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @OneToOne(targetEntity="LitterBox")
|
* @OneToOne(targetEntity="LitterBox")
|
||||||
*
|
*
|
||||||
|
@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\OneToOneSingleTableInheritance;
|
|||||||
*/
|
*/
|
||||||
class LitterBox
|
class LitterBox
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
|
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
|
||||||
public $id;
|
public $id;
|
||||||
}
|
}
|
@ -10,8 +10,6 @@ namespace Doctrine\Tests\Models\OneToOneSingleTableInheritance;
|
|||||||
*/
|
*/
|
||||||
abstract class Pet
|
abstract class Pet
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
|
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
|
||||||
public $id;
|
public $id;
|
||||||
}
|
}
|
||||||
|
@ -4,8 +4,6 @@ namespace Doctrine\Tests\Models\Reflection;
|
|||||||
|
|
||||||
class ClassWithMixedProperties extends ParentClass
|
class ClassWithMixedProperties extends ParentClass
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
public static $staticProperty = 'staticProperty';
|
public static $staticProperty = 'staticProperty';
|
||||||
|
|
||||||
public $publicProperty = 'publicProperty';
|
public $publicProperty = 'publicProperty';
|
||||||
|
@ -4,7 +4,5 @@ namespace Doctrine\Tests\Models\Reflection;
|
|||||||
|
|
||||||
class ParentClass
|
class ParentClass
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
private $privatePropertyOverride = 'privatePropertyOverride';
|
private $privatePropertyOverride = 'privatePropertyOverride';
|
||||||
}
|
}
|
||||||
|
@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Tweet;
|
|||||||
*/
|
*/
|
||||||
class Tweet
|
class Tweet
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @GeneratedValue
|
* @GeneratedValue
|
||||||
|
@ -10,8 +10,6 @@ use Doctrine\Common\Collections\ArrayCollection;
|
|||||||
*/
|
*/
|
||||||
class User
|
class User
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @GeneratedValue
|
* @GeneratedValue
|
||||||
|
@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\Tweet;
|
|||||||
*/
|
*/
|
||||||
class UserList
|
class UserList
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @GeneratedValue
|
* @GeneratedValue
|
||||||
|
@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\VersionedManyToOne;
|
|||||||
*/
|
*/
|
||||||
class Article
|
class Article
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @Column(name="id", type="integer")
|
* @Column(name="id", type="integer")
|
||||||
|
@ -8,8 +8,6 @@ namespace Doctrine\Tests\Models\VersionedManyToOne;
|
|||||||
*/
|
*/
|
||||||
class Category
|
class Category
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @Column(name="id", type="integer")
|
* @Column(name="id", type="integer")
|
||||||
|
@ -76,8 +76,6 @@ class DDC2494Test extends \Doctrine\Tests\OrmFunctionalTestCase
|
|||||||
*/
|
*/
|
||||||
class DDC2494Currency
|
class DDC2494Currency
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @Column(type="integer", type="ddc2494_tinyint")
|
* @Column(type="integer", type="ddc2494_tinyint")
|
||||||
@ -124,8 +122,6 @@ class DDC2494Currency
|
|||||||
*/
|
*/
|
||||||
class DDC2494Campaign
|
class DDC2494Campaign
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @GeneratedValue
|
* @GeneratedValue
|
||||||
|
@ -67,9 +67,6 @@ class DDC2579Test extends \Doctrine\Tests\OrmFunctionalTestCase
|
|||||||
*/
|
*/
|
||||||
class DDC2579Entity
|
class DDC2579Entity
|
||||||
{
|
{
|
||||||
|
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @Column(type="ddc2579")
|
* @Column(type="ddc2579")
|
||||||
@ -102,8 +99,6 @@ class DDC2579Entity
|
|||||||
*/
|
*/
|
||||||
class DDC2579EntityAssoc
|
class DDC2579EntityAssoc
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @ManyToOne(targetEntity="DDC2579AssocAssoc")
|
* @ManyToOne(targetEntity="DDC2579AssocAssoc")
|
||||||
@ -122,8 +117,6 @@ class DDC2579EntityAssoc
|
|||||||
*/
|
*/
|
||||||
class DDC2579AssocAssoc
|
class DDC2579AssocAssoc
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @Column(type="ddc2579")
|
* @Column(type="ddc2579")
|
||||||
@ -140,7 +133,6 @@ class DDC2579AssocAssoc
|
|||||||
class DDC2579Type extends StringType
|
class DDC2579Type extends StringType
|
||||||
{
|
{
|
||||||
const NAME = 'ddc2579';
|
const NAME = 'ddc2579';
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
@ -166,8 +158,6 @@ class DDC2579Type extends StringType
|
|||||||
|
|
||||||
class DDC2579Id
|
class DDC2579Id
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
private $val;
|
private $val;
|
||||||
|
|
||||||
public function __construct($val)
|
public function __construct($val)
|
||||||
|
@ -100,8 +100,6 @@ class DDC2825Test extends \Doctrine\Tests\OrmFunctionalTestCase
|
|||||||
*/
|
*/
|
||||||
class DDC2825ClassWithImplicitlyDefinedSchemaAndQuotedTableName
|
class DDC2825ClassWithImplicitlyDefinedSchemaAndQuotedTableName
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id @GeneratedValue
|
* @Id @GeneratedValue
|
||||||
* @Column(type="integer")
|
* @Column(type="integer")
|
||||||
|
@ -119,8 +119,6 @@ class DDC2862Test extends \Doctrine\Tests\OrmFunctionalTestCase
|
|||||||
*/
|
*/
|
||||||
class DDC2862Driver
|
class DDC2862Driver
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @GeneratedValue
|
* @GeneratedValue
|
||||||
@ -196,8 +194,6 @@ class DDC2862Driver
|
|||||||
*/
|
*/
|
||||||
class DDC2862User
|
class DDC2862User
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @GeneratedValue
|
* @GeneratedValue
|
||||||
|
@ -72,8 +72,6 @@ class DDC3192Test extends \Doctrine\Tests\OrmFunctionalTestCase
|
|||||||
*/
|
*/
|
||||||
class DDC3192Currency
|
class DDC3192Currency
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @Column(type="ddc3192_currency_code")
|
* @Column(type="ddc3192_currency_code")
|
||||||
@ -99,8 +97,6 @@ class DDC3192Currency
|
|||||||
*/
|
*/
|
||||||
class DDC3192Transaction
|
class DDC3192Transaction
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @GeneratedValue
|
* @GeneratedValue
|
||||||
|
@ -58,30 +58,24 @@ class DDC3300Test extends \Doctrine\Tests\OrmFunctionalTestCase
|
|||||||
*/
|
*/
|
||||||
abstract class DDC3300Person
|
abstract class DDC3300Person
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
|
/** @Id @Column(type="integer") @GeneratedValue(strategy="AUTO") */
|
||||||
public $id;
|
public $id;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface DDC3300BossInterface
|
interface DDC3300BossInterface
|
||||||
{
|
{
|
||||||
const INTERFACENAME = __CLASS__;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @Entity */
|
/** @Entity */
|
||||||
class DDC3300Boss extends DDC3300Person implements DDC3300BossInterface
|
class DDC3300Boss extends DDC3300Person implements DDC3300BossInterface
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
interface DDC3300EmployeeInterface
|
interface DDC3300EmployeeInterface
|
||||||
{
|
{
|
||||||
const INTERFACENAME = __CLASS__;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @Entity */
|
/** @Entity */
|
||||||
class DDC3300Employee extends DDC3300Person implements DDC3300EmployeeInterface
|
class DDC3300Employee extends DDC3300Person implements DDC3300EmployeeInterface
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
}
|
}
|
||||||
|
@ -23,8 +23,6 @@ class DDC3582Test extends \Doctrine\Tests\OrmFunctionalTestCase
|
|||||||
/** @Entity */
|
/** @Entity */
|
||||||
class DDC3582Entity
|
class DDC3582Entity
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Column @Id */
|
/** @Column @Id */
|
||||||
private $id;
|
private $id;
|
||||||
|
|
||||||
@ -41,8 +39,6 @@ class DDC3582Entity
|
|||||||
/** @Embeddable */
|
/** @Embeddable */
|
||||||
class DDC3582Embeddable1
|
class DDC3582Embeddable1
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Embedded(class="DDC3582Embeddable2") @var DDC3582Embeddable2 */
|
/** @Embedded(class="DDC3582Embeddable2") @var DDC3582Embeddable2 */
|
||||||
public $embeddable2;
|
public $embeddable2;
|
||||||
|
|
||||||
@ -52,8 +48,6 @@ class DDC3582Embeddable1
|
|||||||
/** @Embeddable */
|
/** @Embeddable */
|
||||||
class DDC3582Embeddable2
|
class DDC3582Embeddable2
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Embedded(class="DDC3582Embeddable3") @var DDC3582Embeddable3 */
|
/** @Embedded(class="DDC3582Embeddable3") @var DDC3582Embeddable3 */
|
||||||
public $embeddable3;
|
public $embeddable3;
|
||||||
|
|
||||||
@ -63,8 +57,6 @@ class DDC3582Embeddable2
|
|||||||
/** @Embeddable */
|
/** @Embeddable */
|
||||||
class DDC3582Embeddable3
|
class DDC3582Embeddable3
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Column */
|
/** @Column */
|
||||||
public $embeddedValue = 'foo';
|
public $embeddedValue = 'foo';
|
||||||
}
|
}
|
||||||
|
@ -74,8 +74,6 @@ class DDC3634Test extends OrmFunctionalTestCase {
|
|||||||
/** @Entity */
|
/** @Entity */
|
||||||
class DDC3634Entity
|
class DDC3634Entity
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Id @Column(type="bigint") @GeneratedValue(strategy="AUTO") */
|
/** @Id @Column(type="bigint") @GeneratedValue(strategy="AUTO") */
|
||||||
public $id;
|
public $id;
|
||||||
}
|
}
|
||||||
@ -90,8 +88,6 @@ class DDC3634Entity
|
|||||||
*/
|
*/
|
||||||
class DDC3634JTIBaseEntity
|
class DDC3634JTIBaseEntity
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Id @Column(type="bigint") @GeneratedValue(strategy="AUTO") */
|
/** @Id @Column(type="bigint") @GeneratedValue(strategy="AUTO") */
|
||||||
public $id;
|
public $id;
|
||||||
}
|
}
|
||||||
@ -99,7 +95,6 @@ class DDC3634JTIBaseEntity
|
|||||||
/** @Entity */
|
/** @Entity */
|
||||||
class DDC3634JTIChildEntity extends DDC3634JTIBaseEntity
|
class DDC3634JTIChildEntity extends DDC3634JTIBaseEntity
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class DDC3634LastInsertIdMockingConnection extends Connection
|
class DDC3634LastInsertIdMockingConnection extends Connection
|
||||||
|
@ -60,8 +60,6 @@ class DDC5684Test extends \Doctrine\Tests\OrmFunctionalTestCase
|
|||||||
|
|
||||||
class DDC5684ObjectIdType extends DBALTypes\IntegerType
|
class DDC5684ObjectIdType extends DBALTypes\IntegerType
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
public function convertToPHPValue($value, AbstractPlatform $platform)
|
public function convertToPHPValue($value, AbstractPlatform $platform)
|
||||||
{
|
{
|
||||||
return new DDC5684ObjectId($value);
|
return new DDC5684ObjectId($value);
|
||||||
@ -85,8 +83,6 @@ class DDC5684ObjectIdType extends DBALTypes\IntegerType
|
|||||||
|
|
||||||
class DDC5684ObjectId
|
class DDC5684ObjectId
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
public $value;
|
public $value;
|
||||||
|
|
||||||
public function __construct($value)
|
public function __construct($value)
|
||||||
@ -106,8 +102,6 @@ class DDC5684ObjectId
|
|||||||
*/
|
*/
|
||||||
class DDC5684Object
|
class DDC5684Object
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @Column(type=Doctrine\Tests\ORM\Functional\Ticket\DDC5684ObjectIdType::class)
|
* @Column(type=Doctrine\Tests\ORM\Functional\Ticket\DDC5684ObjectIdType::class)
|
||||||
|
@ -336,8 +336,6 @@ class ValueObjectsTest extends OrmFunctionalTestCase
|
|||||||
*/
|
*/
|
||||||
class DDC93Person
|
class DDC93Person
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Id @GeneratedValue @Column(type="integer") */
|
/** @Id @GeneratedValue @Column(type="integer") */
|
||||||
public $id;
|
public $id;
|
||||||
|
|
||||||
@ -407,8 +405,6 @@ class DDC93Car extends DDC93Vehicle
|
|||||||
*/
|
*/
|
||||||
class DDC93Country
|
class DDC93Country
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Column(type="string", nullable=true)
|
* @Column(type="string", nullable=true)
|
||||||
*/
|
*/
|
||||||
@ -425,8 +421,6 @@ class DDC93Country
|
|||||||
*/
|
*/
|
||||||
class DDC93Address
|
class DDC93Address
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Column(type="string")
|
* @Column(type="string")
|
||||||
*/
|
*/
|
||||||
@ -464,8 +458,6 @@ class DDC93Customer
|
|||||||
/** @Embeddable */
|
/** @Embeddable */
|
||||||
class DDC93ContactInfo
|
class DDC93ContactInfo
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Column(type="string")
|
* @Column(type="string")
|
||||||
*/
|
*/
|
||||||
@ -479,8 +471,6 @@ class DDC93ContactInfo
|
|||||||
*/
|
*/
|
||||||
class DDC3028PersonWithPrefix
|
class DDC3028PersonWithPrefix
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Embedded(class="DDC3028Id", columnPrefix = "foobar_") */
|
/** @Embedded(class="DDC3028Id", columnPrefix = "foobar_") */
|
||||||
public $id;
|
public $id;
|
||||||
|
|
||||||
@ -499,8 +489,6 @@ class DDC3028PersonWithPrefix
|
|||||||
*/
|
*/
|
||||||
class DDC3028PersonEmptyPrefix
|
class DDC3028PersonEmptyPrefix
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Embedded(class="DDC3028Id", columnPrefix = "") */
|
/** @Embedded(class="DDC3028Id", columnPrefix = "") */
|
||||||
public $id;
|
public $id;
|
||||||
|
|
||||||
@ -519,8 +507,6 @@ class DDC3028PersonEmptyPrefix
|
|||||||
*/
|
*/
|
||||||
class DDC3028PersonPrefixFalse
|
class DDC3028PersonPrefixFalse
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Embedded(class="DDC3028Id", columnPrefix = false) */
|
/** @Embedded(class="DDC3028Id", columnPrefix = false) */
|
||||||
public $id;
|
public $id;
|
||||||
|
|
||||||
@ -535,8 +521,6 @@ class DDC3028PersonPrefixFalse
|
|||||||
*/
|
*/
|
||||||
class DDC3028Id
|
class DDC3028Id
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id @Column(type="string")
|
* @Id @Column(type="string")
|
||||||
*/
|
*/
|
||||||
@ -553,8 +537,6 @@ class DDC3028Id
|
|||||||
*/
|
*/
|
||||||
class DDC3028NestedEmbeddable
|
class DDC3028NestedEmbeddable
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/** @Embedded(class="DDC3028Id", columnPrefix = "foo_") */
|
/** @Embedded(class="DDC3028Id", columnPrefix = "foo_") */
|
||||||
public $nestedWithPrefix;
|
public $nestedWithPrefix;
|
||||||
|
|
||||||
|
@ -117,8 +117,6 @@ class AttachEntityListenersListenerTest extends OrmTestCase
|
|||||||
*/
|
*/
|
||||||
class AttachEntityListenersListenerTestFooEntity
|
class AttachEntityListenersListenerTestFooEntity
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @Column(type="integer")
|
* @Column(type="integer")
|
||||||
@ -133,8 +131,6 @@ class AttachEntityListenersListenerTestFooEntity
|
|||||||
*/
|
*/
|
||||||
class AttachEntityListenersListenerTestBarEntity
|
class AttachEntityListenersListenerTestBarEntity
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Id
|
* @Id
|
||||||
* @Column(type="integer")
|
* @Column(type="integer")
|
||||||
@ -145,8 +141,6 @@ class AttachEntityListenersListenerTestBarEntity
|
|||||||
|
|
||||||
class AttachEntityListenersListenerTestListener
|
class AttachEntityListenersListenerTestListener
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
public $calls;
|
public $calls;
|
||||||
|
|
||||||
public function prePersist()
|
public function prePersist()
|
||||||
@ -167,8 +161,6 @@ class AttachEntityListenersListenerTestListener
|
|||||||
|
|
||||||
class AttachEntityListenersListenerTestListener2
|
class AttachEntityListenersListenerTestListener2
|
||||||
{
|
{
|
||||||
const CLASSNAME = __CLASS__;
|
|
||||||
|
|
||||||
public $calls;
|
public $calls;
|
||||||
|
|
||||||
public function prePersist()
|
public function prePersist()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user