-
-
Notifications
You must be signed in to change notification settings - Fork 35
/
.phpstorm.meta.php
34 lines (28 loc) · 1.73 KB
/
.phpstorm.meta.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
/*
* This file configures dynamic return type support for factory methods in PhpStorm
* see https://www.jetbrains.com/help/phpstorm/ide-advanced-metadata.html
*/
namespace PHPSTORM_META {
override(
\Neos\Flow\ObjectManagement\ObjectManagerInterface::get(),
map(['' => '@'])
);
override(
\Neos\Flow\Core\Bootstrap::getEarlyInstance(),
map(['' => '@'])
);
expectedArguments(\Neos\Flow\Annotations\Validate::__construct(), 1, 'AggregateBoundary', 'Alphanumeric', 'Boolean', 'Collection', 'Conjunction', 'Count', 'DateTimeRange', 'DateTime', 'Disjunction', 'EmailAddress', 'Float', 'GenericObject', 'Integer', 'Label', 'LocaleIdentifier', 'NotEmpty', 'NumberRange', 'Number', 'Raw', 'RegularExpresion', 'StringLength', 'Text', 'UniqueEntity', 'Uuid');
expectedArguments(\Neos\Flow\Annotations\Scope::__construct(), 0, 'prototype', 'session', 'singleton');
registerArgumentsSet(
'flowSettingsTypes',
\Neos\Flow\Configuration\ConfigurationManager::CONFIGURATION_TYPE_CACHES,
\Neos\Flow\Configuration\ConfigurationManager::CONFIGURATION_TYPE_OBJECTS,
\Neos\Flow\Configuration\ConfigurationManager::CONFIGURATION_TYPE_POLICY,
\Neos\Flow\Configuration\ConfigurationManager::CONFIGURATION_TYPE_ROUTES,
\Neos\Flow\Configuration\ConfigurationManager::CONFIGURATION_TYPE_SETTINGS
);
expectedArguments(\Neos\Flow\Annotations\InjectConfiguration::__construct(), 2, argumentsSet('flowSettingsTypes'));
expectedArguments(\Neos\Flow\Configuration\ConfigurationManager::getConfiguration(), 0, argumentsSet('flowSettingsTypes'));
expectedArguments(\Neos\Flow\Configuration\ConfigurationManager::loadConfiguration(), 0, argumentsSet('flowSettingsTypes'));
}