We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53bebd7 commit 46adc39Copy full SHA for 46adc39
src/Ubiquity/attributes/items/Transformer.php
@@ -12,7 +12,7 @@
12
* - #[Transformer("transformerName")]
13
*
14
* @author jc
15
- * @version 1.0.0
+ * @version 1.0.1
16
*/
17
#[Attribute(Attribute::TARGET_PROPERTY)]
18
class Transformer extends BaseAttribute {
@@ -23,4 +23,9 @@ class Transformer extends BaseAttribute {
23
public function __construct(string $name) {
24
$this->name = $name;
25
}
26
+
27
+ public function isSameAs(BaseAnnotationTrait $annot): bool {
28
+ return \get_class($annot) === self::class && $this->name == $annot->name;
29
+ }
30
31
0 commit comments