Neos\Flow\Tests\Unit\ObjectManagement\Proxy\CompilerTest::annotationsAndStrings PHP Метод

annotationsAndStrings() публичный Метод

public annotationsAndStrings ( ) : array
Результат array
    public function annotationsAndStrings()
    {
        $sessionWithAutoStart = new Session();
        $sessionWithAutoStart->autoStart = true;
        return [[new Signal([]), '@\\Neos\\Flow\\Annotations\\Signal'], [new Scope(['value' => 'singleton']), '@\\Neos\\Flow\\Annotations\\Scope("singleton")'], [new FooBarAnnotation(), '@\\Neos\\Flow\\Tests\\Unit\\ObjectManagement\\Proxy\\FooBarAnnotation(1.2)'], [new FooBarAnnotation(new FooBarAnnotation()), '@\\Neos\\Flow\\Tests\\Unit\\ObjectManagement\\Proxy\\FooBarAnnotation(@\\Neos\\Flow\\Tests\\Unit\\ObjectManagement\\Proxy\\FooBarAnnotation(1.2))'], [$sessionWithAutoStart, '@\\Neos\\Flow\\Annotations\\Session(autoStart=true)'], [new Session(), '@\\Neos\\Flow\\Annotations\\Session'], [new Validate(['value' => 'foo1', 'type' => 'bar1']), '@\\Neos\\Flow\\Annotations\\Validate(type="bar1", argumentName="foo1")'], [new Validate(['type' => 'bar1', 'options' => ['minimum' => 2]]), '@\\Neos\\Flow\\Annotations\\Validate(type="bar1", options={ "minimum"=2 })'], [new Validate(['type' => 'bar1', 'options' => ['foo' => ['bar' => 'baz']]]), '@\\Neos\\Flow\\Annotations\\Validate(type="bar1", options={ "foo"={ "bar"="baz" } })'], [new Validate(['type' => 'bar1', 'options' => ['foo' => 'hubbabubba', 'bar' => true]]), '@\\Neos\\Flow\\Annotations\\Validate(type="bar1", options={ "foo"="hubbabubba", "bar"=true })'], [new Validate(['type' => 'bar1', 'options' => [new Inject([])]]), '@\\Neos\\Flow\\Annotations\\Validate(type="bar1", options={ @\\Neos\\Flow\\Annotations\\Inject })'], [new Validate(['type' => 'bar1', 'options' => [new Validate(['type' => 'bar1', 'options' => ['foo' => 'hubbabubba']])]]), '@\\Neos\\Flow\\Annotations\\Validate(type="bar1", options={ @\\Neos\\Flow\\Annotations\\Validate(type="bar1", options={ "foo"="hubbabubba" }) })']];
    }