Hola a todos estoy tratando de implementar la extension yii2-admin para el uso de rbac, lo configure segun este link:
al tratar de abrir mi app me da este error:
PHP Compile Error – yii\base\ErrorException
Cannot use 'Object' as class name as it is reserved
y no me deja abrirlo, fui al fichero donde me da la ubicacion y esta configurado asi:
namespace yii\base;
use Yii;
/**
* Object is the base class that implements the *property* feature.
*
* It has been replaced by [[BaseObject]] in version 2.0.13 because `object` has become a reserved word which can not be
* used as class name in PHP 7.2.
*
* Please refer to [[BaseObject]] for detailed documentation and to the
* [UPGRADE notes](https://github.com/yiisoft/yii2/blob/2.0.13/framework/UPGRADE.md#upgrade-from-yii-2012)
* on how to migrate your application to use [[BaseObject]] class to make your application compatible with PHP 7.2.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
* @deprecated since 2.0.13, the class name `Object` is invalid since PHP 7.2, use [[BaseObject]] instead.
* @see https://wiki.php.net/rfc/object-typehint
* @see https://github.com/yiisoft/yii2/issues/7936#issuecomment-315384669
*/
class Object extends BaseObject {
}
neceito resolver esto, ya que necesito tener rbac en mi proyecto de yii2, le hecho de menos al cruge de yii1.1