File: ClassWithInvalidAnnotationTargetAtProperty.php

package info (click to toggle)
php-doctrine-annotations 2.0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,552 kB
  • sloc: php: 8,471; xml: 26; makefile: 23
file content (24 lines) | stat: -rw-r--r-- 490 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php

namespace Doctrine\Tests\Common\Annotations\Fixtures;

use Doctrine\Tests\Common\Annotations\Fixtures\AnnotationTargetAnnotation;
use Doctrine\Tests\Common\Annotations\Fixtures\AnnotationTargetClass;

/**
 * @AnnotationTargetClass("Some data")
 */
class ClassWithInvalidAnnotationTargetAtProperty
{
    /**
     * @var mixed
     * @AnnotationTargetClass("Bar")
     */
    public $foo;

    /**
     * @var mixed
     * @AnnotationTargetAnnotation("Foo")
     */
    public $bar;
}