Actualización

This commit is contained in:
Xes
2025-04-10 12:24:57 +02:00
parent 8969cc929d
commit 45420b6f0d
39760 changed files with 4303286 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?php
namespace Gedmo\Mapping\Driver;
use Gedmo\Mapping\Driver;
/**
* Annotation driver interface, provides method
* to set custom annotation reader.
*
* @author Gediminas Morkevicius <gediminas.morkevicius@gmail.com>
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
interface AnnotationDriverInterface extends Driver
{
/**
* Set annotation reader class
* since older doctrine versions do not provide an interface
* it must provide these methods:
* getClassAnnotations([reflectionClass])
* getClassAnnotation([reflectionClass], [name])
* getPropertyAnnotations([reflectionProperty])
* getPropertyAnnotation([reflectionProperty], [name])
*
* @param object $reader - annotation reader class
*/
public function setAnnotationReader($reader);
}