Size: a a a

2020 August 15

AM

Alexander Makarov in Yii Framework 3
We should not make a decision based on how many providers are there but _some_ providers are unlikely to ever change and there are packages these could be moved to.
источник

T

TradersVE in Yii Framework 3
Also if I want an app without any configuration I can't either.
источник

RM

Rustam Mamadaminov in Yii Framework 3
Rustam Mamadaminov
Например вот так
И можно в отдельном файле через require...
источник

AP

Arman Poghosyan in Yii Framework 3
Rustam Mamadaminov
Например вот так
Млин, я забыл про routecollector, а я думаю почему он вообще отдельный класс, я его уже соединил с RouteCollection)))
источник

T

TradersVE in Yii Framework 3
The logical thing would be if I do not want any configuration of the packages, it should be allowed without having to cancel anything.
источник

AM

Alexander Makarov in Yii Framework 3
TradersVE
The logical thing would be if I do not want any configuration of the packages, it should be allowed without having to cancel anything.
You'll just remove all the providers from your config.
источник

AP

Arman Poghosyan in Yii Framework 3
TradersVE
The logical thing would be if I do not want any configuration of the packages, it should be allowed without having to cancel anything.
You won't need to cancel anything. You will just predefine your provider
источник

AP

Arman Poghosyan in Yii Framework 3
*define
источник

AM

Alexander Makarov in Yii Framework 3
Moving provider to yii-web doesn't mean provider-web will be moved.
источник

T

TradersVE in Yii Framework 3
That cannot be done. I will always be tied to a configuration.
источник

AM

Alexander Makarov in Yii Framework 3
TradersVE
That cannot be done. I will always be tied to a configuration.
источник

AM

Alexander Makarov in Yii Framework 3
Here it is.
источник

AM

Alexander Makarov in Yii Framework 3
Provider itself is in a separate package.
источник

AP

Arman Poghosyan in Yii Framework 3
TradersVE
That cannot be done. I will always be tied to a configuration.
Why and how are you tied to that? You will have RouteProvider from Yiisoft\Yii\Web namespace used in your configuration file (provider-web). If you don't need it, you will just write your own provider and use it instead.
источник

AP

Arman Poghosyan in Yii Framework 3
Exactly
источник

T

TradersVE in Yii Framework 3
Arman Poghosyan
Why and how are you tied to that? You will have RouteProvider from Yiisoft\Yii\Web namespace used in your configuration file (provider-web). If you don't need it, you will just write your own provider and use it instead.
You do not understand me
источник

AP

Arman Poghosyan in Yii Framework 3
TradersVE
You do not understand me
maybe))
источник

Д

Дмитрий in Yii Framework 3
Голосовалку может ?
источник

AM

Alexander Makarov in Yii Framework 3
Дмитрий
Голосовалку может ?
На какую тему?
источник

T

TradersVE in Yii Framework 3
I'm not talking about canceling, but I want to start an app from scratch without any configuration. I'm going to assemble mine, I can't because the plugin will always bring all the configuration of all the packages.
источник