Object.php 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * @link http://www.yiiframework.com/
  4. * @copyright Copyright (c) 2008 Yii Software LLC
  5. * @license http://www.yiiframework.com/license/
  6. */
  7. namespace yii\base;
  8. use Yii;
  9. /**
  10. * Object is the base class that implements the *property* feature.
  11. *
  12. * It has been replaced by [[BaseObject]] in version 2.0.13 because `object` has become a reserved word which can not be
  13. * used as class name in PHP 7.2.
  14. *
  15. * Please refer to [[BaseObject]] for detailed documentation and to the
  16. * [UPGRADE notes](https://github.com/yiisoft/yii2/blob/2.0.13/framework/UPGRADE.md#upgrade-from-yii-2012)
  17. * on how to migrate your application to use [[BaseObject]] class to make your application compatible with PHP 7.2.
  18. *
  19. * @author Qiang Xue <qiang.xue@gmail.com>
  20. * @since 2.0
  21. * @deprecated since 2.0.13, the class name `Object` is invalid since PHP 7.2, use [[BaseObject]] instead.
  22. * @see https://wiki.php.net/rfc/object-typehint
  23. * @see https://github.com/yiisoft/yii2/issues/7936#issuecomment-315384669
  24. */
  25. class Object extends BaseObject
  26. {
  27. }