-
The AModel extends from \CModel but I can not find it anywhere :)
I get the error
```
{
"name": "PHP Fatal Error",
"message": "Class 'CModel' not found",
"code": 1,
"type": "yii\\bas…
-
I have installed the latest version of HumHub, added Cron Job as following
![image](https://user-images.githubusercontent.com/91319514/134657634-dbbbd641-1272-4298-86c1-a2c514d7c8dd.png)
But I…
-
Declaration of chsergey\rest\Model::getAttributes() should be compatible with yii\base\Model::getAttributes($names = NULL, $except = Array)
1. in C:\xampp\htdocs\ventas_yii\vendor\chsergey\yii2…
-
#### What are you trying to achieve?
I prepare this config `functional.suite.yml`
```yml
suite_namespace: api\tests\functional
actor: FunctionalTester
modules:
enabled:
- Asserts
…
-
My application structure is
/var/www/html/angular-yii2/
|-client-angular
|-rest
My url should be http://localhost/angular-yii2/client-angular/
but, when I access that url the page redirect to http://…
-
По аналогии с Yii2, хотелось бы расширить функционал Rest контроллера и поддерживать HATEOAS
-
### Describe the bug
Seems you're requesting some package types that don't exist on Bring anymore:
![image](https://github.com/verbb/postie/assets/1279436/7f6bf1ed-d814-41cd-95b7-114b3c86c909)
…
-
If controller attribute modelClass specify how false (unnecessary set)
```
class SomeRESTController extends Controller {
public $allowedActions = ['create'];
public $modelClass = false; // mo…
-
```
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: don't install pahanini/yii2-rest-doc dev-master
- Conclusion: don't install pahan…
-
### What steps will reproduce the problem?
I built a structure for API Rest in Yii2 (Version 2.0.10).
I have this situation:
Class **Even** with relative **modelClass**:
```php
namespace app\a…