repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/Versioning/ExtendedVersionableArticle.php | tests/Doctrine/Tests/Models/Versioning/ExtendedVersionableArticle.php | <?php
namespace Doctrine\Tests\Models\Versioning;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(versionable: 'full')]
class ExtendedVersionableArticle extends FullVersionableArticle
{
#[PHPCR\Field(type: 'string')]
public $author;
#[PHPCR\Field(type: 'string')]
public $topic;
... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/Versioning/NonVersionableArticle.php | tests/Doctrine/Tests/Models/Versioning/NonVersionableArticle.php | <?php
namespace Doctrine\Tests\Models\Versioning;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document]
class NonVersionableArticle
{
#[PHPCR\Id]
public $id;
#[PHPCR\Field(type: 'string')]
public $author;
#[PHPCR\Field(type: 'string')]
public $topic;
#[PHPCR\Field(type:... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/Versioning/InvalidVersionableArticle.php | tests/Doctrine/Tests/Models/Versioning/InvalidVersionableArticle.php | <?php
namespace Doctrine\Tests\Models\Versioning;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(versionable: 'some_invalid_versioning_tpye')]
class InvalidVersionableArticle
{
#[PHPCR\Id]
public $id;
#[PHPCR\Field(type: 'string')]
public $author;
#[PHPCR\Field(type: 'stri... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/Versioning/FullVersionableArticle.php | tests/Doctrine/Tests/Models/Versioning/FullVersionableArticle.php | <?php
namespace Doctrine\Tests\Models\Versioning;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(versionable: 'full')]
class FullVersionableArticle
{
#[PHPCR\Id]
public $id;
#[PHPCR\Field(type: 'string')]
public $author;
#[PHPCR\Field(type: 'string')]
public $topic;
... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/Versioning/FullVersionableArticleWithChildren.php | tests/Doctrine/Tests/Models/Versioning/FullVersionableArticleWithChildren.php | <?php
namespace Doctrine\Tests\Models\Versioning;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(versionable: 'full')]
class FullVersionableArticleWithChildren extends FullVersionableArticle
{
#[PHPCR\Children]
public $childArticles;
... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/Translation/Article.php | tests/Doctrine/Tests/Models/Translation/Article.php | <?php
namespace Doctrine\Tests\Models\Translation;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(translator: 'attribute', referenceable: true)]
class Article
{
#[PHPCR\Id]
public $id;
#[PHPCR\Locale]
public $locale = 'en';
... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/Translation/DatedComment.php | tests/Doctrine/Tests/Models/Translation/DatedComment.php | <?php
namespace Doctrine\Tests\Models\Translation;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(translator: 'attribute')]
class DatedComment extends Comment
{
#[PHPCR\Field(type: 'date')]
public $date;
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/Translation/Comment.php | tests/Doctrine/Tests/Models/Translation/Comment.php | <?php
namespace Doctrine\Tests\Models\Translation;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(translator: 'attribute')]
class Comment
{
#[PHPCR\Id(strategy: 'parent')]
public $id;
#[PHPCR\Nodename]
public $name;
#[PHPCR\Locale]
public $locale = 'en';
#[PHPCR\P... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/Translation/ChildTranslationArticle.php | tests/Doctrine/Tests/Models/Translation/ChildTranslationArticle.php | <?php
namespace Doctrine\Tests\Models\Translation;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(translator: 'child', referenceable: true)]
class ChildTranslationArticle extends Article
{
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/Translation/NoLocalePropertyArticle.php | tests/Doctrine/Tests/Models/Translation/NoLocalePropertyArticle.php | <?php
namespace Doctrine\Tests\Models\Translation;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
/**
* Translatable document that does not provide an explicit locale field.
*
* !!! WARNING !!!
*
* This class is invalid as it uses an invalid key for the #[PHPCR\Document](translator) attribute.
* This clas... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/Translation/DerivedArticle.php | tests/Doctrine/Tests/Models/Translation/DerivedArticle.php | <?php
namespace Doctrine\Tests\Models\Translation;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document]
class DerivedArticle extends Article
{
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/Translation/InvalidMapping.php | tests/Doctrine/Tests/Models/Translation/InvalidMapping.php | <?php
/**
* !!! WARNING !!!
*
* This class is invalid as it uses an invalid key for the #[PHPCR\Document](translator) attribute.
* This class is supposed to throw an exception when it is read by the ODM !!!
*/
namespace Doctrine\Tests\Models\Translation;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PH... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/Translation/ChildTranslationComment.php | tests/Doctrine/Tests/Models/Translation/ChildTranslationComment.php | <?php
namespace Doctrine\Tests\Models\Translation;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(translator: 'child')]
class ChildTranslationComment extends Comment
{
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/References/RefAnnotationTestObj.php | tests/Doctrine/Tests/Models/References/RefAnnotationTestObj.php | <?php
namespace Doctrine\Tests\Models\References;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(referenceable: true)]
class RefAnnotationTestObj
{
#[PHPCR\Id]
public $id;
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/References/RefManyTestObjForCascade.php | tests/Doctrine/Tests/Models/References/RefManyTestObjForCascade.php | <?php
namespace Doctrine\Tests\Models\References;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document]
class RefManyTestObjForCascade
{
#[PHPCR\Id]
public $id;
#[PHPCR\ReferenceMany(targetDocument: RefCascadeManyTestObj::class, cascade: 'persist')]
public $references;
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/References/RefType1TestObj.php | tests/Doctrine/Tests/Models/References/RefType1TestObj.php | <?php
namespace Doctrine\Tests\Models\References;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(referenceable: true)]
class RefType1TestObj
{
#[PHPCR\Id]
public $id;
#[PHPCR\Field(type: 'string')]
public $name;
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/References/NonRefTestObj.php | tests/Doctrine/Tests/Models/References/NonRefTestObj.php | <?php
namespace Doctrine\Tests\Models\References;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(referenceable: false)]
class NonRefTestObj
{
#[PHPCR\Id]
public $id;
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/References/RefManyTestObj.php | tests/Doctrine/Tests/Models/References/RefManyTestObj.php | <?php
namespace Doctrine\Tests\Models\References;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document]
class RefManyTestObj
{
#[PHPCR\Id]
public $id;
#[PHPCR\ReferenceMany(property: 'myReferences', targetDocument: RefRefTestObj::class, ca... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/References/WeakRefTestObj.php | tests/Doctrine/Tests/Models/References/WeakRefTestObj.php | <?php
namespace Doctrine\Tests\Models\References;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document]
class WeakRefTestObj
{
#[PHPCR\Id]
public $id;
#[PHPCR\ReferenceOne(targetDocument: RefRefTestObj::class, strategy: 'weak', cascade: 'persist')]
public $reference;
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/References/ParentTestObj.php | tests/Doctrine/Tests/Models/References/ParentTestObj.php | <?php
namespace Doctrine\Tests\Models\References;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(referenceable: true)]
class ParentTestObj
{
#[PHPCR\Id(strategy: 'parent')]
public $id;
#[PHPCR\ParentDocument]
public $parent;
#[PHPCR\Nodename]
public $nodename;
#[P... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/References/RefCascadeManyTestObj.php | tests/Doctrine/Tests/Models/References/RefCascadeManyTestObj.php | <?php
namespace Doctrine\Tests\Models\References;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(referenceable: true)]
class RefCascadeManyTestObj
{
#[PHPCR\Id]
public $id;
#[PHPCR\ReferenceMany(targetDocument: RefRefTestObj::class, ... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/References/RefTestObj.php | tests/Doctrine/Tests/Models/References/RefTestObj.php | <?php
namespace Doctrine\Tests\Models\References;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document]
class RefTestObj
{
#[PHPCR\Id]
public $id;
#[PHPCR\ReferenceOne(property: 'myReference', targetDocument: RefRefTestObj::class, cascade: 'persist')]
public $reference;
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/References/RefCascadeTestObj.php | tests/Doctrine/Tests/Models/References/RefCascadeTestObj.php | <?php
namespace Doctrine\Tests\Models\References;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(referenceable: true)]
class RefCascadeTestObj
{
#[PHPCR\Id]
public $id;
#[PHPCR\ReferenceOne(targetDocument: RefRefTestObj::class, cascade: 'persist')]
public $reference;
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/References/RefType2TestObj.php | tests/Doctrine/Tests/Models/References/RefType2TestObj.php | <?php
namespace Doctrine\Tests\Models\References;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(referenceable: true)]
class RefType2TestObj
{
#[PHPCR\Id]
public $id;
#[PHPCR\Field(type: 'string')]
public $name;
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/References/RefManyWithParentTestObjForCascade.php | tests/Doctrine/Tests/Models/References/RefManyWithParentTestObjForCascade.php | <?php
namespace Doctrine\Tests\Models\References;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document]
class RefManyWithParentTestObjForCascade
{
#[PHPCR\Id]
public $id;
#[PHPCR\ReferenceMany(cascade: 'all')]
public $references;
public function setReferences($references)
{
... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/References/ParentNoNodenameTestObj.php | tests/Doctrine/Tests/Models/References/ParentNoNodenameTestObj.php | <?php
namespace Doctrine\Tests\Models\References;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(referenceable: true)]
class ParentNoNodenameTestObj
{
#[PHPCR\Id]
public $id;
#[PHPCR\ParentDocument]
public $parent;
#[PHPCR\Field(type: 'string')]
public $name;
publ... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/References/RefManyTestObjPathStrategy.php | tests/Doctrine/Tests/Models/References/RefManyTestObjPathStrategy.php | <?php
namespace Doctrine\Tests\Models\References;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document]
class RefManyTestObjPathStrategy
{
#[PHPCR\Id]
public $id;
#[PHPCR\ReferenceMany(property: 'myReferences', targetDocument: RefRefTestOb... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/References/RefDifTestObj.php | tests/Doctrine/Tests/Models/References/RefDifTestObj.php | <?php
namespace Doctrine\Tests\Models\References;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document]
class RefDifTestObj
{
#[PHPCR\Id]
public $id;
#[PHPCR\ReferenceOne(targetDocument: RefType1TestObj::class, cascade: 'persist')]
public $referenceType1;
#[PHPCR\ReferenceOne(ta... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/References/ParentWithChildrenTestObj.php | tests/Doctrine/Tests/Models/References/ParentWithChildrenTestObj.php | <?php
namespace Doctrine\Tests\Models\References;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(referenceable: true)]
class ParentWithChildrenTestObj
{
#[PHPCR\Id(strategy: 'parent')]
public $id;
#[PHPCR\ParentDocument]
public $parent;
#[PHPCR\Nodename]
public $nodename... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/References/UuidTestObj.php | tests/Doctrine/Tests/Models/References/UuidTestObj.php | <?php
namespace Doctrine\Tests\Models\References;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(referenceable: true)]
class UuidTestObj
{
#[PHPCR\Id]
public $id;
#[PHPCR\Uuid]
public $uuid1;
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/References/RefTestObjByPath.php | tests/Doctrine/Tests/Models/References/RefTestObjByPath.php | <?php
namespace Doctrine\Tests\Models\References;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document]
class RefTestObjByPath
{
#[PHPCR\Id]
public $id;
#[PHPCR\ReferenceOne(targetDocument: RefRefTestObj::class, strategy: 'path', cascade: 'persist')]
public $reference;
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/References/UuidTestTwoUuidFieldsObj.php | tests/Doctrine/Tests/Models/References/UuidTestTwoUuidFieldsObj.php | <?php
namespace Doctrine\Tests\Models\References;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(referenceable: true)]
class UuidTestTwoUuidFieldsObj
{
#[PHPCR\Id]
public $id;
#[PHPCR\Uuid]
public $uuid1;
#[PHPCR\Uuid]
public $uuid2;
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/References/RefRefTestObj.php | tests/Doctrine/Tests/Models/References/RefRefTestObj.php | <?php
namespace Doctrine\Tests\Models\References;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(referenceable: true)]
class RefRefTestObj
{
#[PHPCR\Id]
public $id;
#[PHPCR\Field(type: 'string')]
public $name;
public function getId()
{
return $this->id;
}
... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/References/HardRefTestObj.php | tests/Doctrine/Tests/Models/References/HardRefTestObj.php | <?php
namespace Doctrine\Tests\Models\References;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document]
class HardRefTestObj
{
#[PHPCR\Id]
public $id;
#[PHPCR\ReferenceOne(targetDocument: RefRefTestObj::class, strategy: 'hard', cascade: 'persist')]
public $reference;
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/References/RefTestPrivateObj.php | tests/Doctrine/Tests/Models/References/RefTestPrivateObj.php | <?php
namespace Doctrine\Tests\Models\References;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document]
class RefTestPrivateObj
{
#[PHPCR\Id]
public $id;
#[PHPCR\ReferenceOne(cascade: 'persist')]
private $reference;
public function getReference()
{
return $this->refe... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/CMS/CmsPageTranslatable.php | tests/Doctrine/Tests/Models/CMS/CmsPageTranslatable.php | <?php
namespace Doctrine\Tests\Models\CMS;
use Doctrine\ODM\PHPCR\DocumentRepository;
use Doctrine\ODM\PHPCR\Id\RepositoryIdInterface;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(repositoryClass: CmsPageTranslatableRepository::class, translator: 'attribute', referenceable: true)]
class CmsPa... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/CMS/CmsGroup.php | tests/Doctrine/Tests/Models/CMS/CmsGroup.php | <?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
namespace Doctrine\Tests\Models\CMS;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(referenceable: true)]
class CmsGroup
{
#[PHPCR\Id]
public $id;
#[PHPCR\Field(type: 'string'... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/CMS/CmsAddress.php | tests/Doctrine/Tests/Models/CMS/CmsAddress.php | <?php
namespace Documents;
namespace Doctrine\Tests\Models\CMS;
use Doctrine\ODM\PHPCR\DocumentRepository;
use Doctrine\ODM\PHPCR\Id\RepositoryIdInterface;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(repositoryClass: CmsAddressRepository::class, referenceable: true)]
class CmsAddress
{
... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/CMS/CmsUser.php | tests/Doctrine/Tests/Models/CMS/CmsUser.php | <?php
namespace Doctrine\Tests\Models\CMS;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ODM\PHPCR\DocumentRepository;
use Doctrine\ODM\PHPCR\Id\RepositoryIdInterface;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(repositoryClass: CmsUserRepository::class, referenceable: true)]... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/CMS/CmsArticle.php | tests/Doctrine/Tests/Models/CMS/CmsArticle.php | <?php
namespace Doctrine\Tests\Models\CMS;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document]
class CmsArticle
{
#[PHPCR\Id]
public $id;
#[PHPCR\Field(type: 'string')]
public $topic;
#[PHPCR\Field(type: 'string')]
public $t... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/CMS/CmsBlogFolder.php | tests/Doctrine/Tests/Models/CMS/CmsBlogFolder.php | <?php
namespace Doctrine\Tests\Models\CMS;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(childClasses: CmsBlogPost::class)]
class CmsBlogFolder
{
#[PHPCR\Id]
public $id;
#[PHPCR\Children]
public $posts;
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/CMS/CmsTeamUser.php | tests/Doctrine/Tests/Models/CMS/CmsTeamUser.php | <?php
namespace Doctrine\Tests\Models\CMS;
use Doctrine\ODM\PHPCR\DocumentRepository;
use Doctrine\ODM\PHPCR\Id\RepositoryIdInterface;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(repositoryClass: CmsTeamUserRepository::class)]
class CmsTeamUser extends CmsUser
{
#[PHPCR\ParentDocument]
... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/CMS/CmsBlogPost.php | tests/Doctrine/Tests/Models/CMS/CmsBlogPost.php | <?php
namespace Documents;
namespace Doctrine\Tests\Models\CMS;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(isLeaf: true)]
class CmsBlogPost
{
#[PHPCR\Id(strategy: 'parent')]
public $id;
#[PHPCR\Nodename]
public $name;
#[PHPCR\ParentDocument]
public $parent;
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/CMS/CmsItem.php | tests/Doctrine/Tests/Models/CMS/CmsItem.php | <?php
namespace Doctrine\Tests\Models\CMS;
use Doctrine\ODM\PHPCR\DocumentRepository;
use Doctrine\ODM\PHPCR\Id\RepositoryIdInterface;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(repositoryClass: CmsItemRepository::class, referenceable: true)]
class CmsItem
{
#[PHPCR\Id(strategy: 'reposi... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/CMS/CmsProfile.php | tests/Doctrine/Tests/Models/CMS/CmsProfile.php | <?php
namespace Doctrine\Tests\Models\CMS;
use Doctrine\ODM\PHPCR\DocumentRepository;
use Doctrine\ODM\PHPCR\Id\RepositoryIdInterface;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(nodeType: 'phpcr:cms_profile', repositoryClass: CmsProfileRepository::class, referenceable: true, uniqueNodeType:... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/CMS/CmsPage.php | tests/Doctrine/Tests/Models/CMS/CmsPage.php | <?php
namespace Doctrine\Tests\Models\CMS;
use Doctrine\ODM\PHPCR\DocumentRepository;
use Doctrine\ODM\PHPCR\Id\RepositoryIdInterface;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(repositoryClass: CmsPageRepository::class, referenceable: true)]
class CmsPage
{
#[PHPCR\Id(strategy: 'reposi... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/CMS/CmsBlogInvalidChild.php | tests/Doctrine/Tests/Models/CMS/CmsBlogInvalidChild.php | <?php
namespace Documents;
namespace Doctrine\Tests\Models\CMS;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document]
class CmsBlogInvalidChild
{
#[PHPCR\Id(strategy: 'parent')]
public $id;
#[PHPCR\Nodename]
public $name;
#[PHPCR\ParentDocument]
public $parent;
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/CMS/CmsUserTranslatable.php | tests/Doctrine/Tests/Models/CMS/CmsUserTranslatable.php | <?php
namespace Doctrine\Tests\Models\CMS;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ODM\PHPCR\DocumentRepository;
use Doctrine\ODM\PHPCR\Id\RepositoryIdInterface;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(repositoryClass: CmsUserTranslatableRepository::class, translato... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/CMS/CmsAuditItem.php | tests/Doctrine/Tests/Models/CMS/CmsAuditItem.php | <?php
namespace Doctrine\Tests\Models\CMS;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document]
class CmsAuditItem
{
#[PHPCR\Id]
public $id;
#[PHPCR\Field(type: 'string')]
public $message;
#[PHPCR\Field(type: 'string', nullable: true)]
public $username;
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/CMS/CmsArticlePerson.php | tests/Doctrine/Tests/Models/CMS/CmsArticlePerson.php | <?php
namespace Doctrine\Tests\Models\CMS;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ODM\PHPCR\DocumentRepository;
use Doctrine\ODM\PHPCR\Id\RepositoryIdInterface;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(repositoryClass: CmsArticlePersonRepository::class, referenceabl... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/tests/Doctrine/Tests/Models/CMS/CmsArticleFolder.php | tests/Doctrine/Tests/Models/CMS/CmsArticleFolder.php | <?php
namespace Doctrine\Tests\Models\CMS;
use Doctrine\ODM\PHPCR\Mapping\Attributes as PHPCR;
#[PHPCR\Document(childClasses: CmsArticle::class)]
class CmsArticleFolder
{
#[PHPCR\Id]
public $id;
#[PHPCR\Children]
public $articles;
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/bin/phpcrodm.php | bin/phpcrodm.php | <?php
$up = DIRECTORY_SEPARATOR.'..';
$file = DIRECTORY_SEPARATOR.'autoload.php';
$candiates = [
__DIR__.$up.$file,
__DIR__.$up.DIRECTORY_SEPARATOR.'vendor'.$file,
__DIR__.$up.$up.$up.$file,
];
foreach ($candiates as $path) {
$autoload = @include_once $path;
if ($autoload) {
break;
}
}... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/NodeTypeRegistrator.php | lib/Doctrine/ODM/PHPCR/NodeTypeRegistrator.php | <?php
namespace Doctrine\ODM\PHPCR;
use Doctrine\ODM\PHPCR\Translation\Translation;
use PHPCR\SessionInterface;
/**
* Encapsulates the logic for registering system node types.
*/
final class NodeTypeRegistrator
{
private string $phpcrNamespace = 'phpcr';
private string $phpcrNamespaceUri = 'http://www.doc... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Version.php | lib/Doctrine/ODM/PHPCR/Version.php | <?php
namespace Doctrine\ODM\PHPCR;
/**
* Class to mark the current version of the PHPCR ODM.
*/
final class Version
{
/**
* Current version of PHPCR ODM.
*/
public const VERSION = '2.1.1';
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/PHPCRExceptionInterface.php | lib/Doctrine/ODM/PHPCR/PHPCRExceptionInterface.php | <?php
namespace Doctrine\ODM\PHPCR;
/**
* Marker interface that all Doctrine PHPCR-ODM exceptions implement.
*/
interface PHPCRExceptionInterface extends \Throwable
{
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/ReferenceManyCollection.php | lib/Doctrine/ODM/PHPCR/ReferenceManyCollection.php | <?php
namespace Doctrine\ODM\PHPCR;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\Common\Util\ClassUtils;
use Doctrine\ODM\PHPCR\Exception\InvalidArgumentException;
/**
* Property collection class.
*
* This class stores all documents or their proxies ref... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/DocumentRepository.php | lib/Doctrine/ODM/PHPCR/DocumentRepository.php | <?php
namespace Doctrine\ODM\PHPCR;
use Doctrine\Common\Collections\Collection;
use Doctrine\Common\Proxy\Proxy;
use Doctrine\ODM\PHPCR\Exception\InvalidArgumentException;
use Doctrine\ODM\PHPCR\Mapping\ClassMetadata;
use Doctrine\ODM\PHPCR\Query\Builder\ConstraintFactory;
use Doctrine\ODM\PHPCR\Query\Builder\QueryBu... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/UnitOfWork.php | lib/Doctrine/ODM/PHPCR/UnitOfWork.php | <?php
namespace Doctrine\ODM\PHPCR;
use Doctrine\Common\Collections\Collection;
use Doctrine\Common\EventArgs;
use Doctrine\Common\EventManager;
use Doctrine\Common\Proxy\Proxy;
use Doctrine\Common\Util\ClassUtils;
use Doctrine\ODM\PHPCR\Event\ListenersInvoker;
use Doctrine\ODM\PHPCR\Event\MoveEventArgs;
use Doctrine... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | true |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/ChildrenCollection.php | lib/Doctrine/ODM/PHPCR/ChildrenCollection.php | <?php
namespace Doctrine\ODM\PHPCR;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use PHPCR\NodeInterface;
use PHPCR\Util\PathHelper;
/**
* Children collection class.
*
* This class represents a collection of children of a document which phpcr
* names match a option... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/ImmutableReferrersCollection.php | lib/Doctrine/ODM/PHPCR/ImmutableReferrersCollection.php | <?php
namespace Doctrine\ODM\PHPCR;
use Doctrine\ODM\PHPCR\Exception\BadMethodCallException;
/**
* Immutable referrer collection class.
*
* This class represents a collection of referrers of a document that can be
* mixed and thus never can be persisted.
*/
class ImmutableReferrersCollection extends ReferrersCo... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/HierarchyInterface.php | lib/Doctrine/ODM/PHPCR/HierarchyInterface.php | <?php
namespace Doctrine\ODM\PHPCR;
/**
* Interface for objects that resolve to the node type nt:hierarchyNode, like
* the File and Folder documents.
*
* @see http://wiki.apache.org/jackrabbit/nt:hierarchyNode
*/
interface HierarchyInterface
{
/**
* Get the parent document of this document, if set.
... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/DocumentManager.php | lib/Doctrine/ODM/PHPCR/DocumentManager.php | <?php
namespace Doctrine\ODM\PHPCR;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\Common\EventManager;
use Doctrine\ODM\PHPCR\Exception\ClassMismatchException;
use Doctrine\ODM\PHPCR\Exception\InvalidArgumentException;
use Doctrine\ODM\PHPCR\Mapping\ClassMet... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Configuration.php | lib/Doctrine/ODM/PHPCR/Configuration.php | <?php
namespace Doctrine\ODM\PHPCR;
use Doctrine\ODM\PHPCR\Mapping\Driver\BuiltinDocumentsDriver;
use Doctrine\ODM\PHPCR\Repository\DefaultRepositoryFactory;
use Doctrine\ODM\PHPCR\Repository\RepositoryFactory;
use Doctrine\Persistence\Mapping\Driver\MappingDriver;
use Doctrine\Persistence\ObjectRepository;
use PHPCR... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/DocumentClassMapperInterface.php | lib/Doctrine/ODM/PHPCR/DocumentClassMapperInterface.php | <?php
namespace Doctrine\ODM\PHPCR;
use Doctrine\ODM\PHPCR\Exception\ClassMismatchException;
use PHPCR\NodeInterface;
interface DocumentClassMapperInterface
{
/**
* Determine the class name from a given node.
*
* @param string|null $className explicit class to use. If set, this
* ... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Event.php | lib/Doctrine/ODM/PHPCR/Event.php | <?php
namespace Doctrine\ODM\PHPCR;
final class Event
{
public const prePersist = 'prePersist';
public const preRemove = 'preRemove';
public const preUpdate = 'preUpdate';
public const preMove = 'preMove';
public const postRemove = 'postRemove';
public const postPersist = 'postPersist';
... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/DocumentClassMapper.php | lib/Doctrine/ODM/PHPCR/DocumentClassMapper.php | <?php
namespace Doctrine\ODM\PHPCR;
use Doctrine\ODM\PHPCR\Exception\ClassMismatchException;
use PHPCR\NodeInterface;
use PHPCR\PropertyType;
/**
* Stores the class mapping in the phpcr:class attribute.
*
* If no class is found, use 'Doctrine\ODM\PHPCR\Document\Generic'
*/
class DocumentClassMapper implements Do... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/ReferrersCollection.php | lib/Doctrine/ODM/PHPCR/ReferrersCollection.php | <?php
namespace Doctrine\ODM\PHPCR;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use PHPCR\PropertyInterface;
/**
* Referrer collection class.
*
* This class represents a collection of referrers of a document which phpcr
* names match a optional name
*/
class Refe... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/PHPCRException.php | lib/Doctrine/ODM/PHPCR/PHPCRException.php | <?php
namespace Doctrine\ODM\PHPCR;
use Doctrine\Persistence\ObjectRepository;
/**
* Basic exception class for Doctrine PHPCR-ODM.
*/
class PHPCRException extends \Exception implements PHPCRExceptionInterface
{
public static function unknownDocumentNamespace(string $documentNamespaceAlias): self
{
... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/PersistentCollection.php | lib/Doctrine/ODM/PHPCR/PersistentCollection.php | <?php
namespace Doctrine\ODM\PHPCR;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
/**
* @author Benjamin Eberlei <kontakt@beberlei.de>
*/
abstract class PersistentCollection implements \Stringable, Collection
{
protected const INITIALIZED_NONE = 'not initialized';... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/DocumentManagerInterface.php | lib/Doctrine/ODM/PHPCR/DocumentManagerInterface.php | <?php
/*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS ... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Event/MoveEventArgs.php | lib/Doctrine/ODM/PHPCR/Event/MoveEventArgs.php | <?php
namespace Doctrine\ODM\PHPCR\Event;
use Doctrine\ODM\PHPCR\DocumentManagerInterface;
use Doctrine\Persistence\Event\LifecycleEventArgs;
class MoveEventArgs extends LifecycleEventArgs
{
private string $sourcePath;
private string $targetPath;
/**
* The paths are absolute paths including the doc... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Event/PreUpdateEventArgs.php | lib/Doctrine/ODM/PHPCR/Event/PreUpdateEventArgs.php | <?php
namespace Doctrine\ODM\PHPCR\Event;
use Doctrine\ODM\PHPCR\DocumentManagerInterface;
use Doctrine\Persistence\Event\PreUpdateEventArgs as BasePreUpdateEventArgs;
class PreUpdateEventArgs extends BasePreUpdateEventArgs
{
private array $documentChangeSet;
public function __construct(object $document, Do... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Event/ListenersInvoker.php | lib/Doctrine/ODM/PHPCR/Event/ListenersInvoker.php | <?php
namespace Doctrine\ODM\PHPCR\Event;
use Doctrine\Common\EventArgs;
use Doctrine\Common\EventManager;
use Doctrine\ODM\PHPCR\Mapping\ClassMetadata;
/**
* A method invoker based on document lifecycle.
*
* @since 1.1
*
* @author Fabio B. Silva <fabio.bat.silva@gmail.com>
* @author Maximilian Berghoff ... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Decorator/DocumentManagerDecorator.php | lib/Doctrine/ODM/PHPCR/Decorator/DocumentManagerDecorator.php | <?php
namespace Doctrine\ODM\PHPCR\Decorator;
use Doctrine\Common\Collections\Collection;
use Doctrine\Common\EventManager;
use Doctrine\ODM\PHPCR\ChildrenCollection;
use Doctrine\ODM\PHPCR\Configuration;
use Doctrine\ODM\PHPCR\DocumentManagerInterface;
use Doctrine\ODM\PHPCR\Proxy\ProxyFactory;
use Doctrine\ODM\PHPC... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Translation/Translation.php | lib/Doctrine/ODM/PHPCR/Translation/Translation.php | <?php
namespace Doctrine\ODM\PHPCR\Translation;
class Translation
{
public const LOCALE_NAMESPACE = 'phpcr_locale';
public const LOCALE_NAMESPACE_URI = 'http://www.doctrine-project.org/projects/phpcr_odm/phpcr_locale';
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Translation/MissingTranslationException.php | lib/Doctrine/ODM/PHPCR/Translation/MissingTranslationException.php | <?php
namespace Doctrine\ODM\PHPCR\Translation;
use Doctrine\ODM\PHPCR\PHPCRException;
/**
* @author Lukas Kahwe Smith <smith@pooteeweet.org>
*/
class MissingTranslationException extends PHPCRException
{
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Translation/TranslationStrategy/AbstractTranslationStrategy.php | lib/Doctrine/ODM/PHPCR/Translation/TranslationStrategy/AbstractTranslationStrategy.php | <?php
namespace Doctrine\ODM\PHPCR\Translation\TranslationStrategy;
use Doctrine\ODM\PHPCR\DocumentManagerInterface;
use Doctrine\ODM\PHPCR\Translation\Translation;
/**
* @author Daniel Barsotti <daniel.barsotti@liip.ch>
*/
abstract class AbstractTranslationStrategy implements TranslationStrategyInterface
{
pr... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Translation/TranslationStrategy/NonTranslatedStrategy.php | lib/Doctrine/ODM/PHPCR/Translation/TranslationStrategy/NonTranslatedStrategy.php | <?php
namespace Doctrine\ODM\PHPCR\Translation\TranslationStrategy;
use Doctrine\ODM\PHPCR\DocumentManagerInterface;
use Doctrine\ODM\PHPCR\Mapping\ClassMetadata;
use Doctrine\ODM\PHPCR\PHPCRException;
use Doctrine\ODM\PHPCR\Translation\Translation;
use PHPCR\NodeInterface;
use PHPCR\Query\QOM\ConstraintInterface;
us... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Translation/TranslationStrategy/ChildTranslationStrategy.php | lib/Doctrine/ODM/PHPCR/Translation/TranslationStrategy/ChildTranslationStrategy.php | <?php
namespace Doctrine\ODM\PHPCR\Translation\TranslationStrategy;
use Doctrine\ODM\PHPCR\Mapping\ClassMetadata;
use Doctrine\ODM\PHPCR\PHPCRException;
use Doctrine\ODM\PHPCR\Translation\Translation;
use PHPCR\NodeInterface;
use PHPCR\Query\QOM\ConstraintInterface;
use PHPCR\Query\QOM\QueryObjectModelConstantsInterf... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Translation/TranslationStrategy/TranslationStrategyInterface.php | lib/Doctrine/ODM/PHPCR/Translation/TranslationStrategy/TranslationStrategyInterface.php | <?php
namespace Doctrine\ODM\PHPCR\Translation\TranslationStrategy;
use Doctrine\ODM\PHPCR\Mapping\ClassMetadata;
use PHPCR\NodeInterface;
use PHPCR\Query\QOM\ConstraintInterface;
use PHPCR\Query\QOM\QueryObjectModelFactoryInterface;
use PHPCR\Query\QOM\SourceInterface;
/**
* Operations that a translation strategy ... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Translation/TranslationStrategy/AttributeTranslationStrategy.php | lib/Doctrine/ODM/PHPCR/Translation/TranslationStrategy/AttributeTranslationStrategy.php | <?php
namespace Doctrine\ODM\PHPCR\Translation\TranslationStrategy;
use Doctrine\ODM\PHPCR\Mapping\ClassMetadata;
use Doctrine\ODM\PHPCR\PHPCRException;
use Doctrine\ODM\PHPCR\Translation\Translation;
use PHPCR\NodeInterface;
use PHPCR\Query\QOM\ConstraintInterface;
use PHPCR\Query\QOM\QueryObjectModelFactoryInterfac... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Translation/TranslationStrategy/TranslationNodesWarmer.php | lib/Doctrine/ODM/PHPCR/Translation/TranslationStrategy/TranslationNodesWarmer.php | <?php
namespace Doctrine\ODM\PHPCR\Translation\TranslationStrategy;
use PHPCR\NodeInterface;
use PHPCR\SessionInterface;
/**
* When loading many translated documents, this could lead to a separate PHPCR request
* for each translation. A translation strategy can implement this interface to be
* noticed when many n... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Translation/LocaleChooser/LocaleChooserInterface.php | lib/Doctrine/ODM/PHPCR/Translation/LocaleChooser/LocaleChooserInterface.php | <?php
namespace Doctrine\ODM\PHPCR\Translation\LocaleChooser;
use Doctrine\ODM\PHPCR\Translation\MissingTranslationException;
use Doctrine\Persistence\Mapping\ClassMetadata;
/**
* Interface to get the list of preferred locales.
*
* This is to facilitate falling back to another locale in case there is no
* trans... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Translation/LocaleChooser/LocaleChooser.php | lib/Doctrine/ODM/PHPCR/Translation/LocaleChooser/LocaleChooser.php | <?php
namespace Doctrine\ODM\PHPCR\Translation\LocaleChooser;
use Doctrine\ODM\PHPCR\Translation\MissingTranslationException;
use Doctrine\Persistence\Mapping\ClassMetadata;
/**
* Class to get the list of preferred locales.
*
* @author brian@liip.ch
* @author david@liip.ch
*/
final class LocaleChooser implement... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Mapping/MappingAttribute.php | lib/Doctrine/ODM/PHPCR/Mapping/MappingAttribute.php | <?php
namespace Doctrine\ODM\PHPCR\Mapping;
/**
* A marker interface for mapping attributes.
*/
interface MappingAttribute
{
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Mapping/MappingException.php | lib/Doctrine/ODM/PHPCR/Mapping/MappingException.php | <?php
namespace Doctrine\ODM\PHPCR\Mapping;
use Doctrine\ODM\PHPCR\PHPCRExceptionInterface;
use Doctrine\Persistence\Mapping\MappingException as BaseMappingException;
/**
* @author Benjamin Eberlei <kontakt@beberlei.de>
* @author Lukas Kahwe Smith <smith@pooteeweet.org>
*/
class MappingException extends BaseMappi... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadataFactory.php | lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadataFactory.php | <?php
namespace Doctrine\ODM\PHPCR\Mapping;
use Doctrine\Common\EventManager;
use Doctrine\ODM\PHPCR\DocumentManagerInterface;
use Doctrine\ODM\PHPCR\Event;
use Doctrine\Persistence\Event\LoadClassMetadataEventArgs;
use Doctrine\Persistence\Mapping\AbstractClassMetadataFactory;
use Doctrine\Persistence\Mapping\ClassM... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadata.php | lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadata.php | <?php
declare(strict_types=1);
namespace Doctrine\ODM\PHPCR\Mapping;
use Doctrine\Instantiator\Instantiator;
use Doctrine\Instantiator\InstantiatorInterface;
use Doctrine\ODM\PHPCR\Event;
use Doctrine\ODM\PHPCR\Exception\BadMethodCallException;
use Doctrine\ODM\PHPCR\Exception\OutOfBoundsException;
use Doctrine\ODM\... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | true |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Mapping/Driver/XmlDriver.php | lib/Doctrine/ODM/PHPCR/Mapping/Driver/XmlDriver.php | <?php
namespace Doctrine\ODM\PHPCR\Mapping\Driver;
use Doctrine\ODM\PHPCR\Mapping\ClassMetadata as PhpcrClassMetadata;
use Doctrine\ODM\PHPCR\Mapping\MappingException;
use Doctrine\Persistence\Mapping\ClassMetadata;
use Doctrine\Persistence\Mapping\Driver\FileDriver;
use Doctrine\Persistence\Mapping\MappingException ... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Mapping/Driver/AttributeReader.php | lib/Doctrine/ODM/PHPCR/Mapping/Driver/AttributeReader.php | <?php
declare(strict_types=1);
namespace Doctrine\ODM\PHPCR\Mapping\Driver;
use Doctrine\ODM\PHPCR\Mapping\MappingAttribute;
/** @internal */
final class AttributeReader
{
/**
* @return MappingAttribute[]
*/
public function getClassAttributes(\ReflectionClass $class): array
{
return $t... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Mapping/Driver/AttributeDriver.php | lib/Doctrine/ODM/PHPCR/Mapping/Driver/AttributeDriver.php | <?php
/*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS ... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Mapping/Driver/YamlDriver.php | lib/Doctrine/ODM/PHPCR/Mapping/Driver/YamlDriver.php | <?php
namespace Doctrine\ODM\PHPCR\Mapping\Driver;
use Doctrine\ODM\PHPCR\Exception\InvalidArgumentException;
use Doctrine\ODM\PHPCR\Mapping\ClassMetadata as PhpcrClassMetadata;
use Doctrine\ODM\PHPCR\Mapping\MappingException;
use Doctrine\Persistence\Mapping\ClassMetadata;
use Doctrine\Persistence\Mapping\Driver\Fil... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Mapping/Driver/BuiltinDocumentsDriver.php | lib/Doctrine/ODM/PHPCR/Mapping/Driver/BuiltinDocumentsDriver.php | <?php
namespace Doctrine\ODM\PHPCR\Mapping\Driver;
use Doctrine\Persistence\Mapping\ClassMetadata;
use Doctrine\Persistence\Mapping\Driver\MappingDriver;
/**
* The BuiltinDocumentsDriver is used internally to make sure
* that the mapping for the built-in documents can be loaded.
*
* @author Uwe Jäger <uwej711e@g... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Mapping/Attributes/ReferenceOne.php | lib/Doctrine/ODM/PHPCR/Mapping/Attributes/ReferenceOne.php | <?php
namespace Doctrine\ODM\PHPCR\Mapping\Attributes;
#[\Attribute(\Attribute::TARGET_PROPERTY)]
final class ReferenceOne extends Reference
{
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Mapping/Attributes/VersionCreated.php | lib/Doctrine/ODM/PHPCR/Mapping/Attributes/VersionCreated.php | <?php
namespace Doctrine\ODM\PHPCR\Mapping\Attributes;
use Doctrine\ODM\PHPCR\Mapping\MappingAttribute;
#[\Attribute(\Attribute::TARGET_PROPERTY)]
final class VersionCreated implements MappingAttribute
{
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Mapping/Attributes/PostRemove.php | lib/Doctrine/ODM/PHPCR/Mapping/Attributes/PostRemove.php | <?php
namespace Doctrine\ODM\PHPCR\Mapping\Attributes;
use Doctrine\ODM\PHPCR\Mapping\MappingAttribute;
#[\Attribute(\Attribute::TARGET_METHOD)]
final class PostRemove implements MappingAttribute
{
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Mapping/Attributes/Referrers.php | lib/Doctrine/ODM/PHPCR/Mapping/Attributes/Referrers.php | <?php
namespace Doctrine\ODM\PHPCR\Mapping\Attributes;
use Doctrine\ODM\PHPCR\Mapping\MappingAttribute;
#[\Attribute(\Attribute::TARGET_PROPERTY)]
final class Referrers implements MappingAttribute
{
public ?array $cascade;
/**
* @param string[]|string $cascade
*/
public function __construct(
... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Mapping/Attributes/Children.php | lib/Doctrine/ODM/PHPCR/Mapping/Attributes/Children.php | <?php
namespace Doctrine\ODM\PHPCR\Mapping\Attributes;
use Doctrine\ODM\PHPCR\Mapping\MappingAttribute;
#[\Attribute(\Attribute::TARGET_PROPERTY)]
final class Children implements MappingAttribute
{
public ?array $filter;
public ?array $cascade;
/**
* @param string[]|string $filter
* @param str... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Mapping/Attributes/Uuid.php | lib/Doctrine/ODM/PHPCR/Mapping/Attributes/Uuid.php | <?php
namespace Doctrine\ODM\PHPCR\Mapping\Attributes;
#[\Attribute(\Attribute::TARGET_PROPERTY)]
final class Uuid extends Field
{
public function __construct(
string $property = 'jcr:uuid',
string $type = 'string',
bool $multivalue = false,
?string $assoc = null,
bool $nul... | php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
doctrine/phpcr-odm | https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Mapping/Attributes/PreRemove.php | lib/Doctrine/ODM/PHPCR/Mapping/Attributes/PreRemove.php | <?php
namespace Doctrine\ODM\PHPCR\Mapping\Attributes;
use Doctrine\ODM\PHPCR\Mapping\MappingAttribute;
#[\Attribute(\Attribute::TARGET_METHOD)]
final class PreRemove implements MappingAttribute
{
}
| php | MIT | 8ae2c4924b66f586a0a730e99f0591c428e9a8ea | 2026-01-05T03:10:13.307041Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.