REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 755 B
Close
/opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/rector/rector-doctrine/src/PhpDocParser/DoctrineDocBlockResolver.php
Text
Base64
<?php declare (strict_types=1); namespace Rector\Doctrine\PhpDocParser; use PhpParser\Node\Stmt\Class_; use Rector\Doctrine\Enum\MappingClass; use Rector\Doctrine\Enum\OdmMappingClass; use Rector\Doctrine\NodeAnalyzer\AttrinationFinder; final class DoctrineDocBlockResolver { /** * @readonly * @var \Rector\Doctrine\NodeAnalyzer\AttrinationFinder */ private $attrinationFinder; public function __construct(AttrinationFinder $attrinationFinder) { $this->attrinationFinder = $attrinationFinder; } public function isDoctrineEntityClass(Class_ $class) : bool { return $this->attrinationFinder->hasByMany($class, [MappingClass::ENTITY, MappingClass::EMBEDDABLE, OdmMappingClass::DOCUMENT]); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 1
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
DoctrineDocBlockResolver.php
755 B
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).