Yii2 - ActiveRecord table name

    
        class Book extends \yii\db\ActiveRecord
        {
            public static function tableName()
            {
                return 'book';
            }
        }